Re:Automatic compilation of partially available C source code
by sigjuice on Friday April 21, 2017 @11:56AM
(#14166675)
C does have a bool type as well. I have not seen it used much in the C code that I have encountered. See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdb...
[ Parent
| on HN ]
Re:Automatic compilation of partially available C source code
by mattkrause on Friday April 21, 2017 @01:23PM
(#14167457)
It's "new" as of C99.
The actual boolean type is called _Bool, but <stdbool.h> provides macros that let bool, true, and false work.