bitwise not operator

Go4Expert Member
19Dec2010,18:27   #1
cindrilla's Avatar
hi all
i want to know how this bitwise not operator functions
for example
~5 wht is its result?
Go4Expert Founder
19Dec2010,19:17   #2
shabbir's Avatar
Why don't you run and see the results.
Mentor
20Dec2010,13:32   #3
xpi0t0s's Avatar
Search engines aren't difficult to use. If you go to Google and type in "c++ bitwise not" then it'll fetch back a list of useful websites you can look at for more information.

Here's a nice little demo page of how to do it, that I sometimes show people:
http://lmgtfy.com/?q=c%2B%2B+bitwise+not
Go4Expert Founder
20Dec2010,14:29   #4
shabbir's Avatar
Quote:
Originally Posted by xpi0t0s View Post
Search engines aren't difficult to use. If you go to Google and type in "c++ bitwise not" then it'll fetch back a list of useful websites you can look at for more information.

Here's a nice little demo page of how to do it, that I sometimes show people:
http://lmgtfy.com/?q=c%2B%2B+bitwise+not
I also follow your way on this buddy.