map<string,int> test;
test.insert(make_pair("test1",1));
cout<<"the value of count:"<<count<<endl;
cout<<"has find the string"<<endl;
test.insert(make_pair("test1",1));
test.insert(make_pair("test2",2));
如果map中存在所要查找的主键,就返回一
cout<<"the value of count:"<<count<<endl;
map<string,int>::iterator it = test.find("test2");
如果map中没有索要查找的主键,就返回map.end();
cout<<"has find the string"<<endl;