Please explain in a line or two

closed account (1Ujz3TCk)
why are
!
&
%
used in c++?
hm it will take a little bit longer than one or two lines, but in my opinion its better to take the time:

http://www.cplusplus.com/doc/tutorial/operators.html

or did i misunderstand your post?

greetz DG
closed account (1Ujz3TCk)
well DG i understood the use of % but not that of
!
.pl help once again.
ok as far as i know ! or known as NOT inverts a result of an expression.

if(5 < 8)
{
//some code
}
// some code will be executed because the expression is true

if(!(5 < 8))
evaluates as FALSE because the expression is TRUE

this is the same as in the link above.

hope it helps a little bit....

DG
Topic archived. No new replies allowed.