Mail Archives: djgpp/2000/10/19/07:31:40
On Thu, 19 Oct 2000, Steamer wrote:
> Damian Yerrick wrote:
>
> > The 'q' in qsort() is a red herring. I haven't read the standard,
> > but AFAIK it only specifies O(n log n).
>
> It doesn't even specify that.
idd. K&R p. 253 (AppB,Sec6B)
"...
void qsort(void* base, size_t n size_t size,
int (*cmp)(const void* keyval, const void* datum))
qsort sorts into ascending order an array base[0]...[base[n-1] of objects
of size size. The comparison function cmp is as in bsearch.
..."
******* Groetjes vanwege ***** Greetings From *******
Dieter Demerre - http://www.angelfire.com/de/ddemerre
ddemerre AT acm DOT org - ext DOT dieter DOT demerre AT siemens DOT be
Although this private and confidential e-mail has been sent
to you through a personal Siemens account, it does NOT
represent any official opinion of Siemens.
If you are not the intended recipient of this e-mail and
have received it in error, please notify the sender by
replying with 'received in error' as the subject and then
delete it from your mailbox.
- Raw text -