Answers for "convert hex which is a string to integer C++"

C++
1

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 hex which is a string to integer C++"

Browse Popular Code Answers by Language