|
|
C++ Complex conditions:Conditions can be combined using the logical operators: ! (not) && (and) || (or) Priority is: not, and , or. Always enclose each condition in parentheses! general syntax:(<condition>) <logical operator> (<condition>) note: C++ allows any expression to be used in place of a condition! ex: (avoid doing this!!!)
|