Post Created date
[TUT] [C] Bit manipulation (AKA "Programming 101")
robinsm wrote:Quote:BenG wrote: As an additional item to check if a bit is clear: Code: if(~(foo) & 0x80) { } My 1st choice would be for the following which, IMHO, is easier...
Friday, 14 October 2011 - 12:46