摘要:
一,概述 1)统计每个字符串出现的个数的程序实现,利用Map容器:#include <iostream>
#include <map>
using namespace std;
int main()
{ map <string ,int> M; map <string ,int>::iterator j; string t[5]={"abc","dd","abc","dd","dd"}; for(int i=0;i<5;++i) M[t[i] 阅读全文
posted @ 2012-05-27 22:30
MXi4oyu
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号