quote:Original post by superdeveloper
But yes, in C/C++, a byte is 8 bits wide.
No, the number of bits in a C++ byte is undefined.
quote:Original post by superdeveloper
But yes, in C/C++, a byte is 8 bits wide.
quote:Original post by JingoYou mean the number of bits in a C++ char? Because byte is defined to be 8 bits, much like nibble is defined as 4 bits, independ of the platform or the language.
No, the number of bits in a C++ byte is undefined.
quote:
You mean the number of bits in a C++ char? Because byte is defined to be 8 bits, much like nibble is defined as 4 bits, independ of the platform or the language.