SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to print a single hex number, and then revert back to decimal you can use this:
std::cout << std::hex << num << std::dec << std::endl;