On Tue, May 08, 2007 at 12:13:29AM +0200, Uwe Stöhr wrote:
> >> 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.

I still see an 'or'.

Andre'

Reply via email to