Page 72 - C-Language
P. 72

# ifndef true
         #  define true true
         # endif
         # ifndef false
         #  define false false
         # endif
         #else
         # include <stdbool.h>
         #endif

         /* Somewhere later in the code ... */
         bool b = true;


        This allows compilers for historic versions of C to function, but remains forward compatible if the
        code is compiled with a modern C compiler.

        For more information on typedef, see Typedef, for more on enum see Enumerations


        Read Boolean online: https://riptutorial.com/c/topic/3336/boolean
































































        https://riptutorial.com/                                                                               48
   67   68   69   70   71   72   73   74   75   76   77