Hi,
I was under the impression that bool's were false by default... Am I wrong about this?
In VC++6, when I define a bool in a class header (i.e. bool testbool) and then access it BEFORE I have initialized it to a definite value, it returns 1. I am sure that I have not accidentally initialized it to true anywhere. Just curious, is it supposed to be this way?
Cheers,
Crispin
I was under the impression that bool's were false by default... Am I wrong about this?
In VC++6, when I define a bool in a class header (i.e. bool testbool) and then access it BEFORE I have initialized it to a definite value, it returns 1. I am sure that I have not accidentally initialized it to true anywhere. Just curious, is it supposed to be this way?
Cheers,
Crispin
Comment