View Code #pragma warning (disable : 4786)#include<stdio.h>#include<map>#include<string>#include<iostream>using namespace std;int main(){ char str[50]; double num=0; map<string,int> M; while(gets(str)!=NULL) { M[str]++; num++; } map<string,int>::iterator it; for.. Read More
posted @ 2011-10-04 21:54 Because Of You Views(224) Comments(0) Diggs(0) Edit