|
Re: boolean
I'm not 100% sure if this wouldn't work, but my original thought would be it wouldn't.
char boolVar = 1;
if(boolVar)
{
//Do this
}
but for && and || and != they all work the same:
char var1 = 1;
char var2 = 0;
if(var1 == 1 && var2 != 1)
{
//do this
}
|