bitwise not operator

cindrilla's Avatar, Join Date: Sep 2010
Go4Expert Member
hi all
i want to know how this bitwise not operator functions
for example
~5 wht is its result?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Why don't you run and see the results.
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.