Hi!
I know BOOL can be either TRUE or FALSE, just like the built-in bool data type, but what is the difference between the two? MFC AppWizard doesn't seem to use bool at all, favoring BOOL instead. I assume it's some sort of class or struct, but what functionality does it provide besides the basic TRUE/FALSE values? Also, I don't know the first thing about UNIT, but I see it used extensively as well. Another class? Encapsulating what kind of stuff for what purpose? MSDN's definitions of UNIT and BOOL seem to be hiding from me.
Thank you!
~Mike
Any man willing to sacrifice liberty for security deserves neither liberty nor security.
-Ben Franklin
I know BOOL can be either TRUE or FALSE, just like the built-in bool data type, but what is the difference between the two? MFC AppWizard doesn't seem to use bool at all, favoring BOOL instead. I assume it's some sort of class or struct, but what functionality does it provide besides the basic TRUE/FALSE values? Also, I don't know the first thing about UNIT, but I see it used extensively as well. Another class? Encapsulating what kind of stuff for what purpose? MSDN's definitions of UNIT and BOOL seem to be hiding from me.
Thank you!
~Mike
Any man willing to sacrifice liberty for security deserves neither liberty nor security.
-Ben Franklin