/** * Alex Cohn and Jordan Shkolnick * 3/9/10 * CSC323: make * array-utils.h: A header file for the array_untils library **/ #ifndef __ARRAY_UTILS_H__ #define __ARRAY_UTILS_H__ /** * Swap the elements in positions i and j of A. * Pre: * 0 <= i,j < length of A * A[i] = I * A[j] = J * Post * A[i] = J * A[j] = I * For all x, x != i and x != j, A[x] is unchanged. */ void str_swap (char *A[], int i, int j); #endif /* __ARRAY_UTILS_H__ */