Anyone knows how to write it into string variable?
uint32_t myInt = 123456;
std::cout << std::setfill('0') << std::setw(8) << std::hex << myInt << '\n';
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Apr 13, 2021, 12:16 PM
GopalPosted Apr 12, 2021, 11:40 AM
Mahesh ChandPosted Mar 24, 2021, 12:49 PM