Home Segments Index Top Previous Next

295: Mainline

Recall that C++ treats 0 as false and any integer other than 0 as true. That is why you see the contorted expression, any integer other than 0, instead of just 1.