当前位置: 代码迷 >> 综合 >> stl::map的遍历
  详细解决方案

stl::map的遍历

热度:38   发布时间:2024-01-25 16:15:51.0
	std::map<char, string>::iterator it;for (it = map.begin(); it != map.end(); it++)cout << it->first << ":" << it->second << endl;

 

  相关解决方案