文件名称:Exp29_2_2
介绍说明--下载内容来自于网络,使用问题请自行百度
保存学生的简明资料,要求按学号排序,使用映射关联容器
(因为不会重号)是最合适的。如用姓名排序,因姓名可能重复,使用多重映射更为合适。
使用时要用头文件<set>。map和multimap将key/value pair当做元素进行管理,并根据key
的排序准则自动将元素排序。-Save students concise, asking sorted by student number, use the mapping associated with the container (because it would not re-number) is the most appropriate. With names such as sorting, due to possible duplication of names, more appropriate use of multiple maps. Use the header files used <set> . map and multimap will be key/value pair as an element of management and, based on key elements of the sort criteria for automatically sorting.
(因为不会重号)是最合适的。如用姓名排序,因姓名可能重复,使用多重映射更为合适。
使用时要用头文件<set>。map和multimap将key/value pair当做元素进行管理,并根据key
的排序准则自动将元素排序。-Save students concise, asking sorted by student number, use the mapping associated with the container (because it would not re-number) is the most appropriate. With names such as sorting, due to possible duplication of names, more appropriate use of multiple maps. Use the header files used <set> . map and multimap will be key/value pair as an element of management and, based on key elements of the sort criteria for automatically sorting.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Exp29_2_2.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
