how to get a character at a place in a string in c++ code example
Example: how to access the element of string in c++
string myString = "Hello";
cout << myString[0];
// Outputs H
string myString = "Hello";
cout << myString[0];
// Outputs H