map可直接使用数组方式插入记录:map[key]=value。
http://www.yitsoft.com/chap_study/ch_00029/ch_00029.asp
亮点:
第三种:用数组方式插入数据,下面举例说明
#include <map>
#include <string>
#include <iostream>
Using namespace std;
Int main()
{
Map<int, string> mapStudent;
mapStudent[1] = “student_one”;
mapStudent[2] = “student_two”;
mapStudent[3] = “student_three”;
HxLauncher: Launch Android applications by voice commands