compare strings, strcmp

Charles Hannum CMH117 at PSUVM.BITNET
Thu Nov 16 12:22:12 AEST 1989


1)  Unless you are dealing with very similar strings, there is nothing wrong
    with strcmp().

2)  Now, if your question is actually how to sort the array, then look up the
    qsort() function in your favorite C reference.

--
- Charles Martin Hannum II       "Klein bottle for sale...  Inquire within."
    (and PROUD OF IT!!!)         "To life immortal!"
  c9h at psuecl.psu.edu             "No noozzzz izzz netzzznoozzzzz..."
  cmh117 at psuvm.psu.edu           "Memories, all alone in the moonlight ..."



More information about the Comp.lang.c mailing list