Answers for "how to chick on each char in the string in c++"

C++
0

c++ read each char of string

std::string str = ???;
for(std::string::iterator it = str.begin(); it != str.end(); ++it) {
    do_things_with(*it);
}
Posted by: Guest on November-12-2020

Code answers related to "how to chick on each char in the string in c++"

Browse Popular Code Answers by Language