how to get a letter from the user c++ string

C++
string letters = "ABC";
char letterN = letters[0];
Source

Also in C++: