Why does int8_t and user input via cin shows strange result [duplicate]
int8_t is a typedef for an integer type with the required characteristics: pure 2’s-complement representation, no padding bits, size of exactly 8 bits. For most (perhaps all) compilers, that means it’s going to be a typedef for signed char.(Because of a quirk in the definition of the term signed integer type, it cannot be a … Read more