學習筆記 c++ (c++ 統計在一個輸入字符串中各個不同字符出現的頻度)

#include <vector> #include <iostream> #include <string> #include <map> using namespace std; int main() {     map<char,int> m_Count;     string str;     cout<<"請輸入字符串!!"<<endl;     getline(cin,str);   
相關文章
相關標籤/搜索