Sunday, October 5, 2008

An introduction to bitwise operators

This article gives a brief overview of C style bitwise operators.
Because a lot of people seem to have problems with bitwise operators I had decide to write this short tutorial on how to use them.

There are six bitwise operators:

  • & AND
  • | OR
  • ^ XOR
  • ~ NOT
  • >> Right Shift
  • <<>

No comments: