#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++ URL网址:http://lswzjz.com/article/jpjcjj.html