so confused - learning something

This is a discussion on so confused - learning something within the C++ Programming forums, part of the General Programming Boards category; Im going through the C++ Tutorial and i am on page 2. Im having trouble understanding the following problem...
!( ...

i dont get how 1 || 0 like you stated above is one..what i see is..not 1 or 0...so wouldnt it be 0?

No no no.. its like math, you do whats in the brackets () first, before worrying about what it says outside them. You'll also notice its ! ( ( , theres 2 backets, so the ! NOT symbol has no effect ever on ( 1 || 0 ).