cout << hex << 11 << endl;
cout << 12 << endl;
will print:
and
b
If I cout 13, it will be printed as 'c'. How to remove the hex modifier from now on so that it just prints 13? This is probably simple, but I tried to find the answer elsewhere. Thank.
source
share