SyntaxFix
Write A Post
Hire A Developer
Questions
Is this what you're looking for?
std::cout << std::hex << val << std::endl;