more on TRUE and FALSE (side-comment)
Stephen Quan
quan at sol.surv.utas.oz
Mon Sep 17 21:27:59 AEST 1990
Personally I hate 'writing' programs with :
if (strcmp(name,"hippo")==0) ....
I know 'strcmp(a,b)' is designed to return 3 types of value :
-ve : a comes before b.
0 : a equals b.
+ve : a comes after b.
but it drives me balmy (not completely balmy though!) all the same.
Anyone got a cure? At the moment I'm trying DIET COKE!
Stephen Quan (quan at sol.surv.utas.edu.au - ignore oz.au above, if it appears)
Programmer (won't admit which compiler I have to use, but it starts with F),
University of Tasmania,
Aussie.
More information about the Comp.lang.c
mailing list