无论如何显示字符 s 在字符串中出现 5 次是否有任何函数可以对字符进行排序,而不是向我们显示字符在字符串中出现 5 或 6 次。
#include<iostream>
#include<string>
int main(){
using namespace std;
string a="hello how are you"
//now i want to show the l character appears several time.
//and i need help here.
system("pause");
}