>> if (
>>        (a == 1) && (b == 1) &&
>>        ((C == "bla") || (C == "blub"))
>>       )
>>
>>    I mean how can the OR be included into an AND?
>
> it's not a c++ question, it's just boolean algebra
>
> i don't think it's possible

Why that? In Delphi I use such contructs very often. The syntax would then be

if (a = 1) and (b = 1) and
   ( (C = "bla") or (C = "blub") ) then


So I assumed that this is possible in C++ too.

thanks and regards
Uwe

Reply via email to