Skip to main content
gamedev.net
🔒 Locked

BOOL into bool (CPP)

Started by The C modest god Aug 26, 2006 at 8:18 AM 1 replies 350+ views
Original Post
The C modest god
The C modest god
I have decided to convert all of my BOOL into bool. So I simply replaced every BOOL into bool. I had some few warnnings to deal with. Basically things like:

DWORD wParam;
bool bTerm;
bTerm = (bool)(wParam);
So should I simply convert it into:

bTerm = (wParam!=0);
Thanks in advance.
It's all about the wheel.Never blindly trust technoligy.I love my internal organs.Real men don't shower. Quote: Original post by Toolmaker Quote:

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.