Re: sorting in C

2002-06-14 Thread Cyrille Lefevre
On Fri, Jun 14, 2002 at 07:06:06AM +, echo dev wrote: > I am pooling in as many different ways of sorting data in C i can anyone > have a fav??? If anyone can give me some ideas on the best way to sort data > in C would be helpful.. Thanks is that references helping you ? qsort(3),

Re: sorting in C

2002-06-14 Thread Brian T . Schellenberger
On Friday 14 June 2002 06:36 pm, Nicolas Rachinsky wrote: | * Dan Arlow <[EMAIL PROTECTED]> [2002-06-14 14:40 -0400]: | > dumb question: extra "&" in the previous post? | > | > why do both this | > | > > qsort(&array, NUM_INTS, sizeof(*array), | > > (int (*)(const void *, const void *)) comp); | >

Re: sorting in C

2002-06-14 Thread Nicolas Rachinsky
* Dan Arlow <[EMAIL PROTECTED]> [2002-06-14 14:40 -0400]: > dumb question: extra "&" in the previous post? > > why do both this > > qsort(&array, NUM_INTS, sizeof(*array), > > (int (*)(const void *, const void *)) comp); > and this > qsort(array, NUM_INTS, sizeof(*array), > (int (*)(const voi

Re: sorting in C

2002-06-14 Thread Dan Arlow
dumb question: extra "&" in the previous post? why do both this > qsort(&array, NUM_INTS, sizeof(*array), > (int (*)(const void *, const void *)) comp); and this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void *)) comp); work properly? I tried both and both compile/r

Re: sorting in C

2002-06-14 Thread khromy
On Fri, Jun 14, 2002 at 07:06:06AM +, echo dev wrote: > I am pooling in as many different ways of sorting data in C i can anyone > have a fav??? If anyone can give me some ideas on the best way to sort data > in C would be helpful.. Thanks Below is an example of how to use qsort. Hope it h

Re: sorting in C

2002-06-14 Thread Alex Belits
On Fri, 14 Jun 2002, David Schultz wrote: > Thus spake echo dev <[EMAIL PROTECTED]>: > > I am pooling in as many different ways of sorting data in C i can anyone > > have a fav??? If anyone can give me some ideas on the best way to sort data > > in C would be helpful.. Thanks > > I've always been

Re: sorting in C

2002-06-14 Thread David Schultz
Thus spake echo dev <[EMAIL PROTECTED]>: > I am pooling in as many different ways of sorting data in C i can anyone > have a fav??? If anyone can give me some ideas on the best way to sort data > in C would be helpful.. Thanks I've always been partial to bogosort. To Unsubscribe: send mail to

Re: sorting in C

2002-06-14 Thread Terry Lambert
echo dev wrote: > I am pooling in as many different ways of sorting data in C i can anyone > have a fav??? If anyone can give me some ideas on the best way to sort data > in C would be helpful.. Thanks The Art Of Computer Programming Volume 3: Sorting and Searching Donald

Re: sorting in C

2002-06-13 Thread Alfred Perlstein
* echo dev <[EMAIL PROTECTED]> [020614 00:06] wrote: > I am pooling in as many different ways of sorting data in C i can anyone > have a fav??? If anyone can give me some ideas on the best way to sort data > in C would be helpful.. Thanks man qsort -- -Alfred Perlstein [[EMAIL PROTECTED]] To

sorting in C

2002-06-13 Thread echo dev
I am pooling in as many different ways of sorting data in C i can anyone have a fav??? If anyone can give me some ideas on the best way to sort data in C would be helpful.. Thanks Dan _ Chat with friends online, try MSN Messenge