View Single Post
Old 07-07-2005, 03:17 PM   #1 (permalink)
Chase
Chase's Avatar
 
CECS Major

Join Date: Jul 2005

Location: Louisville, KY

Posts: 387

Chase is on a distinguished road

Send a message via MSN to Chase Send a message via Yahoo to Chase Send a message via Skype™ to Chase
Question Bitwise Operators

Now that I have finally learned how binary works and how to translate it I have moved on to learning about bitwise operators. I know that these four operators are ~ & | ^

But I don't understand what each of them do. I was given an explaination of each (such as the ~ toggles each bit from 1 to 0 and from 0 to 1) but I don't understand it. Could someone please explain what each of these bitwise operators do in an "easy-to-learn" way. Thanks to all who help-

::-Chase-::
Chase is offline