>Anyway, as you know, in C/C++ any non-zero value is TRUE. This also means that you can never be absolutely
>sure that TRUE has a specific int value. So, NEVER test a logical value against TRUE in C++. ALWAYS test it against
>FALSE.
I might be being pedantic here, but any non-zero value is NOT FALSE, only 1 non-zero value is TRUE (as defined with #define or enum or some otherway), as you state - never specifically check for TRUE.
Mike
Mike
"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman