compare strings, strcmp

Michael T. Sullivan sullivan at aqdata.uucp
Sat Nov 18 10:45:42 AEST 1989


>From article <11635 at smoke.BRL.MIL>, by gwyn at smoke.BRL.MIL (Doug Gwyn):
> 
> I guess if you believe in the Indian Hills Style Guide it might.

First off, I'm not sure that's where it came from.  Secondly, it still
sounds like a pretty good suggestion to me.  StrEq doesn't set off warning
flags that it is even a macro, much less a macro with a warning comment in
some include file.  STREQ, however, tells me right away not to go passing
(a++, b++) to it.  A helpful suggestion is a helpful suggestion
_whatever the source_.
-- 
Michael Sullivan          uunet!jarthur.uucp!aqdata!sullivan
aQdata, Inc.
San Dimas, CA



More information about the Comp.lang.c mailing list