// Iterate(loop/repetition) over the word
for(int i = 0; i < (int)word.size(); i++ ){
// Get a character
char ch = word.at(i);
// If the character matches the character we're looking for
if(searchCh == ch){
// Increment a counter
counter++; // counter = counter + 1
What does word.at(i) mean in the operator or what does the "at" operator do in C++? For example, string.at or word.at