Boolean Operators Slighted in C

Frank Adams franka at mmintl.UUCP
Sat May 17 11:20:54 AEST 1986


In article <2496 at watmath.UUCP> rbutterworth at watmath.UUCP writes:
>> > lots of us say "typedef short bool" in our .h files.
>> typedef char bool;	uses less space on some machines.
>
>And on some machines it uses more space.

Which is why you put it in a .h file, instead of in each program separately.
That way it can fairly easily be changed when you port.

Frank Adams                           ihnp4!philabs!pwa-b!mmintl!franka
Multimate International    52 Oakland Ave North    E. Hartford, CT 06108



More information about the Comp.lang.c mailing list