Mail Archives: djgpp/1998/03/28/17:16:40
Are you using C or C++?
ANSI C does not support the bool type, but ANSI C++ does
To use the bool type in C, typedef "BOOL" as "int"
Ishpeck <aTedjamulia AT sprynet DOT com> wrote in article
<351D7EBF DOT A26F9438 AT sprynet DOT com>...
> I have a function that declares a series of
> vairables as follows:
> bool trueorfalse;
> It tells me that:
> "bool undeclared (first use in this function)"
> What am I suposed to do to have boolean values?!
>
- Raw text -