string中find函数的使用

9.47 编写程序,首先查找string"ab2c3d7R4E6"中的每个数字字符,然后查找其中每个字母字符。编写两个版本的程序,第一个要使用find_first_of,第二个要使用find_first_not_of。 程序如下: #include<string> #include<iostream> using namespace std; int main() { string::size_t
相关文章
相关标签/搜索