Код: Выделить всё
unsigned char a = 0;
unsigned char b = 0xff;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/673240/how-do-i-print-an-unsigned-char-as-hex-in-c-using-ostream[/url]Код: Выделить всё
unsigned char a = 0;
unsigned char b = 0xff;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/673240/how-do-i-print-an-unsigned-char-as-hex-in-c-using-ostream[/url]