3
Answers

Anyone knows how to write it into string variable?

Photo of Gopal

Gopal

4y
685
1
uint32_t myInt = 123456; std::cout << std::setfill('0') << std::setw(8) << std::hex << myInt << '\n';

Answers (3)