Unsticky a cout modifier?
c++, cout
Solution
Write in your code:
cout << dec << 13
Problem
``` cout << hex << 11 << endl; cout << 12 << endl; ``` will print : a b If I cout 13, it will be printed as 'c'. How do I remove the hex modifier from now on so it would just print 13? This is probably simple but I tried looking for the answer elsewhere. Thanks.