map
//4种插入方式
map1.insert(pair<int,string>(1,"jww"));
map1.insert(make_pair(2,"hashiqi"));
map1.insert(map<int,string>::value_type(3,"ly"));
map1[4] = "diandian";
打印
cout << it->first << " " << it->second << endl;
查找
map<int, string>::iterator mit = map1.find(5);
if (mit != map1.end())