Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp split bits

unsigned char byte = something;
bool fiftDigitIsOne = byte & 16 // 16 = 25-1
Source by cplusplus.com #
 
PREVIOUS NEXT
Tagged: #cpp #split #bits
ADD COMMENT
Topic
Name
4+4 =