Reverse Bit Order in C
This displayBits function works fine in this code in displaying the bits of the input integer. I put the same thing into function reverseBits and have been trying different things to get it to reverse the order, but can't seem to get it right. I think it's a minor modification needed. Now it...
__________________
C++
domain name forum
|