Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!cs.utexas.edu!samsung!caesar.cs.montana.edu!ogccse!blake!jimli From: jimli@blake.acs.washington.edu (Jimmy Li) Newsgroups: comp.lang.c Subject: compare strings, strcmp Keywords: strcmp,strings Message-ID: <4463@blake.acs.washington.edu> Date: 15 Nov 89 21:00:55 GMT Distribution: usa Organization: Univ of Washington, Seattle Lines: 9 I wanted to know what is the best way to compare two strings? For example, I have the following decl. char array[10000][200]; What is the fastest way to sort this array? (I heard that 'strcmp' is slow if the strings are long. Why?) Thanks a lot.