quote:Original post by SysOp_1101
AFAIK, there is no ''or'' keyword in C++
Actually, there is such a keyword. It''s an alternative token for
||
.
quote:Original post by SysOp_1101
AFAIK, there is no ''or'' keyword in C++
||
.
quote:Original post by spock
Actually, there is such a keyword. It's an alternative token for||
.
quote:
Actually, there is such a keyword. It''s an alternative token for ||.
quote:Original post by felisandriaUnless my brain is REALLY tired, (x = 0) should not evaluate to true.
... unless something is REALLY wrong, equal operators will always be successful.
quote:Original post by peter86
Wouldn´t this work either?:
if( i = ( j | k ) )