map find
摘要:
#include <stdio.h>#include <iostream>#include <stdlib.h>#include <map>using namespace std;int main( ){ map<int,string>mp; mp[0] = "beijing"; mp[1] = "shanghai"; mp[2] = "shenzhen"; map<int,string>::iterator iter; iter = mp.find(1); if 阅读全文
posted @ 2011-07-28 21:59 more think, more gains 阅读(143) 评论(0) 推荐(0) 编辑