#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://cdxtjz.cn/article/jpjcjj.html