Forum: C++ Sep 14th, 2004 |
| Replies: 6 Views: 2,442 I am so excited because I finished my program.
Chainsaw is right, any nonzero value is true in a bool, so a bitwise AND wouldn't necessarily evaluate to true... and I shouldn't have tried using a... |
Forum: C++ Sep 11th, 2004 |
| Replies: 6 Views: 2,442 This is giving me a headache...can someone please tell me why these statements ARE NOT equivalent?
Statement 1.)
if(running_result && shell[8 * (x - 1) + (y - 1)].input_val)
running_result... |