c++中关于map的知识

c++中关于map的知识
请各位前辈给我详细介绍介绍map的用法(c或c++)!它有什么作用,什么特点,怎么用?
其他人气:338 ℃时间:2019-10-11 03:22:48
优质解答
1.map的构造函数Map mapStudent;2. 数据的插入在构造map容器后第一种:用insert函数插入pair数据#pragma warning (disable:4786) )#include #include #include Using namespace std;Int main(){ Map mapStuden...
我来回答
类似推荐
请使用1024x768 IE6.0或更高版本浏览器浏览本站点,以保证最佳阅读效果。本页提供作业小助手,一起搜作业以及作业好帮手最新版!
版权所有 CopyRight © 2012-2024 作业小助手 All Rights Reserved. 手机版