#include #include #include using namespace std; int main() { map ma; map mb; ma["01"] = "wz"; ma["02"] = "sust"; map::iterator it = ma.begin(); for(;it != ma.end();++it) { cout<first<<" "<second<first] = it->second; } map::iterator it2 = mb.begin(); for(;it2 != mb.end();++it2) { cout<first<<" "<second< 网站名称:小代码map1导入map2c++ 路径分享:http://jkwzsj.com/article/jpjcjj.html