Posted by hussein on July 22, 1999 at 22:08:29:
In Reply to: bool problems (????) ... NOW what ... posted by Jared Anderson on July 22, 1999 at 22:05:11:
: Okay ... now I can't figure out why in the world I'm getting an "undeclared identifier" when I'm setting booleans to TRUE or FALSE (ex. "first = FALSE;" --> error).
: It's especially strange since it's giving me a warning about the same line(s): forcing boolean to true or false (performance warning) ...
could it be the uppercase/lowercase stuff ?
besides, where did "boolean" come from ? is it a feature of VC++ ? i dont remember std C++ having such a data type ... maybe u can get around the problem by defining "#define FALSE 0" and "#define TRUE 1" ???
---
hussein