~Rick wrote: > All, > > I have a structure defined below (I've eliminated some of the > elements because it's big). It's setup to be part of a single linked > list but at the moment I have an array built: > > struct ENTRY linedata[MAX_ENTS]; <snip>
Use linedata with qsort(). Then, inside the comparison function, typecast to the structure and extract the element(s) you want to compare and go from there. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
