strcmp

Henry Spencer henry at zoo.toronto.edu
Wed Jun 26 04:00:39 AEST 1991


In article <677424380 at romeo.cs.duke.edu> drh at duke.cs.duke.edu (D. Richard Hipp) writes:
>... I need a strcmp that used in conjuction with sort will put
>strings in what I would call "correct" alphabetical order...

As others have observed, you're going to have to write your own, because
there is no universal definition of "correct" alphabetical order.  (For
example, phonebook order != library card-catalog order != dictionary order.)
-- 
"We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 to SunOS 3.5."              |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.lang.c mailing list