And for clarity, when I say "conditional," I mean
Code:
If (some comparison performed between value 1 and value 2 happens to be true) then
(do something)
else
(do something else)
end if
In C++, it's quite possible to stuff value 1 and/or value 2, with an assignment statement that contains a computation, within the if-then construct itself, like so:
Code:
if ((unsigned int a = 3 * b + c) == 4) doSomething;
It's certainly valid for C++, but it's frowned upon because it's not all that readable and can lead to very subtle bugs due to programmers mistakenly using "=" when they meant to type "==".