3
Answers

Anyone knows how to write it into string variable?

Gopal

Gopal

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