Answers for "how to convert an integer into character in c++ using function"

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 into character in c++ using function"

Code answers related to "C"

Browse Popular Code Answers by Language