I have. They do: CHAR_BIT
No Dave, thats a macro, actual value of that macro is defined by the compiler.
.I'll stick with the C and C++ definitions. 'Cuz I've been bitten where it can bite.
Agree. When a program must know the number of bits in a byte then use the CHAR_BIT macro.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005