static int BitsSet( int i )

Summary

Returns the number of bits set in an integer. This us usually used for flags to count the amount of flags set.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.