1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

bitwise not operator

Discussion in 'C' started by cindrilla, Dec 19, 2010.

  1. cindrilla

    cindrilla New Member

    hi all
    i want to know how this bitwise not operator functions
    for example
    ~5 wht is its result?
     
  2. shabbir

    shabbir Administrator Staff Member

    Why don't you run and see the results.
     
  3. xpi0t0s

    xpi0t0s 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+++bitwise+not
     
  4. shabbir

    shabbir Administrator Staff Member

    I also follow your way on this buddy.
     

Share This Page