SyntaxFix
Write A Post
Hire A Developer
Questions
I would suggest:
std::cout << setbase(16) << 32;
Taken from: http://www.cprogramming.com/tutorial/iomanip.html