I think this got sent to the wrong list :-)

On Tue, 8 May 2007, Uwe Stöhr wrote:

I haven't found btw. no C++ manual by googling that describes the case where AND and OR are embedded to each other. Do you know one?

That part is just from the precedence of the operators. When that order isn't what you want, you use (...) Or do I misunderstand the question?

See here for instance
        http://en.wikipedia.org/wiki/Operators_in_C_and_C++

You'll find that '&&' has higher precedence than '||'. Does that answer your question?

Best regards,
/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to