文件名称:SortedSet
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序用VC++完成
定义类模板SortedSet (包括方法的实现) ,即元素有序的集合,集合元素的类型和集合元素的最大个数可由使用者确定。要
求该类模板对外提供以下三种操作:
insert:加入一个新的元素到合适的位置上,并保证集合元素的值不重复;
get:返回比给定值大的最小元素的地址。若不存在,返回-1;
del:删除与给定值相等的那个元素,并保持剩余元素的有序性。-the completion of procedures with VC SortedSet class template definition (including the method of achieving) that is a collection of elements in an orderly manner, the type of set elements and elements set to the number users can be identified. External demand such templates for the following three operations : insert : to add a new element to the appropriate location, Set elements and ensure that the value of non-repetition; get : return to the setting than the smallest major element of the address. If not, return -1; Del : delete and given that the equal value of the elements, and maintain the remaining elements of the order.
定义类模板SortedSet (包括方法的实现) ,即元素有序的集合,集合元素的类型和集合元素的最大个数可由使用者确定。要
求该类模板对外提供以下三种操作:
insert:加入一个新的元素到合适的位置上,并保证集合元素的值不重复;
get:返回比给定值大的最小元素的地址。若不存在,返回-1;
del:删除与给定值相等的那个元素,并保持剩余元素的有序性。-the completion of procedures with VC SortedSet class template definition (including the method of achieving) that is a collection of elements in an orderly manner, the type of set elements and elements set to the number users can be identified. External demand such templates for the following three operations : insert : to add a new element to the appropriate location, Set elements and ensure that the value of non-repetition; get : return to the setting than the smallest major element of the address. If not, return -1; Del : delete and given that the equal value of the elements, and maintain the remaining elements of the order.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SortedSet/StoredSet.cpp
SortedSet/Main.cpp
SortedSet/StoredSet.h
SortedSet/SortedSet.dsw
SortedSet/SortedSet.dsp
SortedSet
www.dssz.com.txt
SortedSet/Main.cpp
SortedSet/StoredSet.h
SortedSet/SortedSet.dsw
SortedSet/SortedSet.dsp
SortedSet
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.