Let me know what you find out. I thought BOOL was a Microsoft typedef of an unsigned int. You were you test it a TRUE or FALSE since it could contain numbers other than 0 or 1.
FALSE is:
#define FALSE 0
and TRUE is:
#define TRUE !FALSE
I'm presently referring to the book-------->
Computer Fundamentals and Programming in C
By : PRADIP DEY and MANAS ghosh
OXFORD university press
In this book, on page-205 , it is mentioned that-
__________________________________________________ _______________
"A complete list of possible data types is as:
bool (according to C99)
char
unsigned char
signed char
int
unsigned int
signed int
short int
unsigned short int
signed short int
long int
signed long int
unsigned long int
float
double
long double
__________________________________________________ _______________
I couldnot find (probably) anything else about it in that book as it is based on ANSI C89 (probably).
That's it. All that I know about BOOL presently is this. Any help in this matter is welcomed.............
~~THANKS~~