计算一个字符在一个字符串中出现的次数

#include<iostream> #include<string> #include <algorithm> using namespace std; int fun(string str1, char str2) {     char str3=0;     int len=0,p=0;     if (str2 >= 'a'&&str2 <= 'z')         str3 = s
相关文章
相关标签/搜索