From: gbcacm@ccs.neu.edu (Peter Sherwood)
Subject: Re: V2.0 qsort() problem?
Date: 24 Oct 1994 18:36:49 GMT [thread overview]
Message-ID: <38gus1$r8g@narnia.ccs.neu.edu> (raw)
In-Reply-To: 388smb$948@lll-winken.llnl.gov
oberman@icaen.llnl.gov wrote:
: I have a problem with the V2.0 qsort() library routine.
: qsort(topics, num_topics, sizeof topics[0], strcmp);
Under v3.0, qsort works OK. I suggest you verify that the type of each
argument in your call matches the qsort prototype, and make a test run
with an array of integers, writing your own key comparison function.
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------
prev parent reply other threads:[~1994-10-24 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-21 18:11 V2.0 qsort() problem? oberman
1994-10-24 18:36 ` Peter Sherwood [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox