convert strint to char code example
Example 1: string to char*
std::string str = "string";
const char *cstr = str.c_str();
Example 2: convert char to string
char c = 'a';
String s = Character.toString(c);
std::string str = "string";
const char *cstr = str.c_str();
char c = 'a';
String s = Character.toString(c);