Hey,
I'm wandering if there is an easy way to check the number of bits set to 1 in a binary number (4 byte ints). I know I can convert the int into an array of chars (or int for that matter) with each entry representing a bit, but that is time- consuming. I only need to know if there an odd or even numver of 1's in an int.
Any ideas?
Thanks.