摘要:
查找map<int,int> map_test;map_test.insert(pair<int,int>(1,2));map_test.insert(pair<int,int>(1,3));map_test.insert(pair<int,int>(2,2));int a = map_test[1];int b = map_test[3];map<int,int>::iterator p = map_test.find(4);if(p == map_test.end())b =0;int length = map_test.size 阅读全文