std::map<int, string>::iterator iter; iter = map.find(1); if(iter != map.end()) { std::cout<<”Find, the value is ”<<iter->second<<endl; }
std::map<int, string>::iterator iter; iter = map.find(1); if(iter != map.end()) { std::cout<<”Find, the value is ”<<iter->second<<endl; }