Cryptic C

d.s.klett dsk at mtgzz.UUCP
Tue Aug 20 05:22:15 AEST 1985


Instead of using #defines for the boolean values, I
would rather see enumerated data types used.  In general,
C programmers seem to prefer #defines to defining a data
type that can be checked during compilation.

	typedef enum { False , True } Boolean;

Don Klett



More information about the Comp.lang.c mailing list