|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||
|
|||
|
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 } |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Boolean statement | blindguyinanorg | Programming | 2 | 15-02-2004 07:31 |