map 容器的4中初始化 遍历 chunli@http://990487026.blog.51cto.com~/c++$ cat main.cpp#include<iostream>#include<stdio.h>usingnamespacestd;#include<map>#include<string>intmain(){map<int,string>map1;//方法1map1.insert(pair<int,string>(1,"Linux"));map1.insert(pair<int,string>(2,"Mac")...