Computer Science Canada Using member functions inside boolean statements. |
Author: | abcdefghijklmnopqrstuvwxy [ Thu Jan 25, 2007 3:11 am ] | ||
Post subject: | Using member functions inside boolean statements. | ||
Hey. Is there anything I should know about boolean statements and using functions inside them? Look at this code:
If i substitute "iter->handleEvents(x, y, board)" with result in the if statements why does it not ever return true? Whereas with result in its place it works fine... |