Answers for "string hex to int c++"

C++
0

string hex to int c++

//C++11
std::string s = "0xfffefffe";
unsigned int x = std::stoul(s, nullptr, 16);
Posted by: Guest on April-18-2021

Browse Popular Code Answers by Language