home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!axion!merlin!pkeddie
- From: pkeddie@axion.bt.co.uk (Paul Keddie)
- Newsgroups: comp.lang.c
- Subject: sort routines
- Message-ID: <1992Aug13.170424@axion.bt.co.uk>
- Date: 13 Aug 92 16:04:24 GMT
- Sender: news@axion.bt.co.uk
- Reply-To: pkeddie@axion.bt.co.uk (Paul Keddie)
- Organization: British Telecom Research Labs
- Lines: 14
-
-
- How do people sort a single linked list in a C program ? I know there
- is thw qsort routine but that seems to assume you know the maximum possible
- size of the list.
-
- Do you just have to resort to writing your own routine, and if so which is the
- best for a single linked list data structure (insertion,bubble.etc).
-
- Cheers Paul
- Software Maintenance Group, Software Technology Division, BT
- Research Labs, Martlesham Heath, Ipswich, IP5 7RE, UK
- E-mail: pkeddie@axion.bt.co.uk
- Phone: +44 473 649154
- Fax: +44 473 643019
-