#ifndef __sorting_h_ #define __sorting_h_ #include #include // Constant Definitions /* Return/Error Codes */ #define OK ( 0 ) // No errors, everything as should be #define ERROR ( -1 ) // Generic error // structures /* Function Prototypes */ long *Load_File(char *Filename, int *Size); int Save_File(char *Filename, long *Array, int Size); void Shell_Insertion_Sort(long *Array, int Size, double *N_Comp, double *N_Move); void Improved_Bubble_Sort(long *Array, int Size, double *N_Comp, double *N_Move); int * genSeqOne(int maxVal); int * genSeqTwo(int n); int mypow(int base, int exponent); #endif // __sorting_h_