/******************************************************/ /* sort.h */ /* */ /* Define data structures for use in sort demos. */ /* Author: Rick Coleman */ /* Date: April 1998 */ /******************************************************/ #define DATAFILENAME "data.txt" typedef struct { int key; char strData[5]; float numData; } StructType; #ifndef FALSE #define FALSE (0) #endif #ifndef TRUE #define TRUE (1) #endif /* Function prototypes in Sort_IO.c */ int ReadRecords(StructType SArray[], int MaxRecs); void PrintList(StructType SArray[], int NumRecs);