📜  c++ 读取字符串的每个字符 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:53.769000             🧑  作者: Mango

代码示例1
std::string str = ???;
for(std::string::iterator it = str.begin(); it != str.end(); ++it) {
    do_things_with(*it);
}