qsort - part of an array
John Mundt
john at chinet.chi.il.us
Sun Apr 15 08:11:49 AEST 1990
In article <1990Apr14.220814.6261 at chinet.chi.il.us> john at chinet.chi.il.us (John Mundt) writes:
>In article <19496 at boulder.Colorado.EDU> baileyc at tramp.Colorado.EDU (BAILEY CHRISTOPHER R) writes:
>
OF COURSE, I MEANT
>intcmp(*one, *two) /* you provide the sorting function */
>int *one, *two; /* which gets pointersw to two members */
>{ /* which qsort is comparing */
> return(*one - *two);
^
>}
--
---------------------
John Mundt Teachers' Aide, Inc. P.O. Box 1666 Highland Park, IL
john at admctr.chi.il.us *OR* fred at teacha.chi.il.us
(312) 998-5007 (Day voice) || -432-8860 (Answer Mach) && -432-5386 Modem
More information about the Comp.lang.c
mailing list