map<string,int> m; map<string,int>::iterator it; it = m.begin(); while(it != m.end()) { //it->first; //it->second; it ++; }
C++ 遍历map
最新推荐文章于 2025-03-31 18:03:06 发布
map<string,int> m; map<string,int>::iterator it; it = m.begin(); while(it != m.end()) { //it->first; //it->second; it ++; }