Answers for "convert hexadecimal string to integer in c++"

C++
2

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

Code answers related to "convert hexadecimal string to integer in c++"

Browse Popular Code Answers by Language