I'm reading a book that says if your compiler doesn't support C99, you can replace
with this:Code:#include <stdbool.h>
And then, apparently, I can go ahead and have functions that return bool, etc.Code:enum bool {false, true};
But it doesn't work. Is this book having a laugh with me?
Visual C++ shows bool as a keyword, but I presume this doesn't matter if I'm compiling as C. Anyway I tried using "boot" instead of "bool" as a test and it still doesn't work.