home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.programmer:6501 comp.os.os2.apps:8369
- Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!spool.mu.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!Urmel.Informatik.RWTH-Aachen.DE!messua!roosen
- From: roosen@messua.informatik.rwth-aachen.de (Peter Roosen)
- Subject: Re: qsort() in gcc does not do indirect sorting?
- Message-ID: <roosen.721987387@messua>
- Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
- Nntp-Posting-Host: messua
- Organization: Rechnerbetrieb Informatik / RWTH Aachen
- References: <1e3ejjINNdf4@pollux.usc.edu>
- Date: 17 Nov 92 08:03:07 GMT
- Lines: 11
-
- Hello Chao Kuei,
-
- just some days ago I hit the same problem with qsort() of gnu-C. After some
- time of experimenting I found, that the comparison operator must be set just
- in contrary to that demanded. So, just exchange ">" by "<" and qsort will
- run as expected.
-
- Hope this helps,
-
- Peter
-
-