Answers for "how to make a number to a char in cpp"

C++
3

C++ int to char*

std::string s = std::to_string(number);
char const *pchar = s.c_str();  //use char const* as target type
Posted by: Guest on April-22-2020

Code answers related to "how to make a number to a char in cpp"

Browse Popular Code Answers by Language