Answers for "how to convert an integer to a char in c++"

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
0

How to turn an integer variable into a char c++

char aChar = '0' + i;
Posted by: Guest on August-12-2021

Code answers related to "how to convert an integer to a char in c++"

Browse Popular Code Answers by Language