C/C++ code examples
Manipulating bits
get the i'th bit of an int
(C)
count the true bits in an int
(C)
reverse the bits in an int
(C)