keywords in c/c++
This is probably a stupid question but I''m just curious. In the tutorials and some books I have I see things like:
BOOL fullScreen;
foo = TRUE;
My question is why the capitalization? I mean it still compiles fine and runs just great but is it different than just saying bool or true/false?
Thanks!
The capitalized versions of BOOL/TRUE/FALSE are just defines within the window''s header.
"...."
quote:
Original post by Lunatic Raven
The capitalized versions of BOOL/TRUE/FALSE are just defines within the window''s header.
If they are defined in the winows.h then should I use them if I plan on porting to another system like linux?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement