Map容器
map创建1map<int,string>map 初始化列表123456789map<int,string>map2={ {1,"Alice"}, {2,"Bob"}, {3,"Charlie"}}; map插入1234567map<int,string>studentMap;//使用下列操作符(如果键存在则修改,不存在则插入)studentMap[103]="mike";studentMap[104]="Sarah"; 访问元素12345678910111213map<int,string>studentMap={ {101,"Tom"}, {102,"jerry"}, {103,"Mike"}...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
