说明:程序设计当中经常会出现使用同种数据结构的不同实例的情况。例如:在一个程序中
可以使用多个队列、树、图等结构来组织数据。同种结构的不同实例,也许只在数据元素
的类型或数量上略有差异,如果对每个实例都重新定义,则非常麻烦且容易出错。那么能
否对同种类型数据结构仅定义一次呢?答案是肯定的,C++提供的类模板(Class Template
)就可以实现该功能。
-Program design which often use the same kinds of data structu <axax123> 在 上传
| 大小:8kb | 下载:0
说明:链表排序,数据结构的算法实现,利用链表的拆分,实现排序,从个位到百位,实现三次拆分-Sort list, data structure algorithms, using the split list, realize sort, from 100 bits to achieve the three split <徐> 在 上传
| 大小:1kb | 下载:0
说明:一个很经典的问题_八数码!
算法速度快,解决问题多...有兴趣的可以-A very classic problem _ eight digital! Fast algorithm to solve the problem ... are interested in more than can be <阿火> 在 上传
| 大小:46kb | 下载:0
说明:这是数据结构习题书上实验四的一个程序,可以下载来-This is the data structure of the four experimental exercise books, a process, can be downloaded to <dhfa> 在 上传
| 大小:213kb | 下载:0
说明:蒙特卡洛算法实现的检验pi的值和求二重积分的高级算法,值得下载-Monte Carlo algorithm realize the value of pi test and high-level algorithm for double integral, it is worth downloading <毕比> 在 上传
| 大小:58kb | 下载:0