more on TRUE and FALSE (side-comment)

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Wed Sep 26 14:03:00 AEST 1990


#define STRCMP(a,op,b)	(strcmp(a,b) op 0)

     if (STRCMP(a, ==, b))
          (void) printf("a == b\n");
     if (STRCMP(c, <, d))
        (void) printf("c < d\n");
--
Rahul Dhesi <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.lang.c mailing list