Question on || (or) operator
For example, if I'm trying to:int num = 3;if (num == 1 || 2) { // If num equals to 1 or 2, then num takes on value of 0num = 0; }However I couldn't do this because || is a boolean operator, is there another way around this?
[267 byte] By [
kevch27a] at [2007-11-27 2:42:55]
