On 2016-12-04 11:19, ruben safir wrote:
> can on make std::cout format a uinit_8 as an integer type of 8 bits - or
> just print a number at least.
>
The problem is that the 8-bit type is just a typedef for unsigned char.
So the I/O treats it like a character. Because it is.
To display it as an integer, you will have to cast it to unsigned int.
Bo Persson