how to turn int to char using to_string c++ code example
Example: C++ int to char*
std::string s = std::to_string(number);
char const *pchar = s.c_str(); //use char const* as target type
std::string s = std::to_string(number);
char const *pchar = s.c_str(); //use char const* as target type