1 #include <string> 2 #include <iostream> 3 #include <algorithm> 4 #include <map> 5 #include <vector> 6 using namespace std; 7 typedef map<string,string> STRING2STRING; 8 typedef map<string,vector<string>> STRING2VECTOR; 9 10 int main() 11 { 12 map<string,string> map_test; 13 map_test.insert(STRING2STRING::value_type("2001","test1")); 14 map_test.insert(STRING2STRING::value_type("2002","
map与vector嵌套使用
最新推荐文章于 2024-08-08 22:50:50 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)