Retrieve characters from string
by index
std::string s = "B"; // It has at least one character
char cs = s[0];
solved Type Cast a string to char in c++ [closed]
Retrieve characters from string
by index
std::string s = "B"; // It has at least one character
char cs = s[0];
solved Type Cast a string to char in c++ [closed]