🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3726

Re: Sorting

#3726
From: Stephen Baynes
Date: Tue, 15 Aug 1995 07:26
19 lines
1390 bytes
GALASSO CHRISTOPHE J (cg9214@csc.albany.edu) wrote:

: Can someone please tell me if there is some header file with sorting
: prototypes included?  I am a student, and I think that things would be
: much easier if I didn't have to sort everything by myself.  I found
: qsort, and it was pretty helpful.  Bear in mind that I am a student,
: and I am new at programming in C.  Although I am anxious to find out
: all I can.  Please help.  I am looking to all of you experienced
: programmers for a little advice.  

The ANSI C standard requires <stdlib.h> to provide the prototype for the
qsort function. It is the only sorting procedure in the standard (but note
the also the slightly releated bsearch function).

--
Stephen Baynes                              baynes@mulsoc2.serigate.philips.nl
Philips Semiconductors Ltd
Southampton                                 My views are my own.
United Kingdom
Technical Details
Message-ID: <DDCCnG.Gzq@ukpsshp1.serigate.philips.nl>
Path: arc1-ca.pugleaf.net!phcoms4.seri.philips.nl!panther!baynes
References: <40p2cp$lh3@rebecca.albany.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!phcoms4.seri.philips.nl!panther!baynes
From: baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes)
Subject: Re: Sorting
Sender: news@ukpsshp1.serigate.philips.nl (account for localnews)
Message-ID: <DDCCnG.Gzq@ukpsshp1.serigate.philips.nl>
Date: Tue, 15 Aug 1995 07:26:03 GMT
Distribution: usa
References: <40p2cp$lh3@rebecca.albany.edu>
Organization: Philips Semiconductors, Southampton, UK
X-Newsreader: TIN [version 1.2 PL2]