Are the digits in this String the positions you want: 87654321
If those are the positions, how many bits does a value (say 1) have to be shifted left to get to position 1?
How many to position 2?...
Type: Posts; User: Norm
Are the digits in this String the positions you want: 87654321
If those are the positions, how many bits does a value (say 1) have to be shifted left to get to position 1?
How many to position 2?...
Use the AND operator (&) to test if a bit is on. The results will be zero if the bit is not on.
Can you explain what problem you are having?
If you need help with some code: Post a small,...