STL map容器

#include<iostream> #include<map> using namespace std; void printData(map<int, int>&m) { for (map<int, int>::iterator it = m.begin(); it != m.end();it++) { cout << "key:" << it->first << "value" <<
相关文章
相关标签/搜索