map<string,int> m; map<string,int>::iterator it; it = m.begin(); while(it != m.end()) { //it->first; //it->second; it ++; }
C++ 遍历map
最新推荐文章于 2024-07-04 14:58:30 发布
map<string,int> m; map<string,int>::iterator it; it = m.begin(); while(it != m.end()) { //it->first; //it->second; it ++; }