推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

数据结构各种算法实现(C++模板)

更新时间:2018-12-16 21:08:56 大小:6M 上传用户:sun2152查看TA发布的资源 标签:数据结构算法 下载积分:0分 评价赚积分 (如何评价?) 收藏 评论(0) 举报

资料介绍

1、顺序表


Seqlist.h


const int Defaultsize=100;


template <typename Type> class SeqList{


public:


SeqList(int sz=DefaultSize)


:m_nmaxsize(sz),m_ncurrentsize(-1){


if(sz>0){


m_elements=new Type[m_nmaxsize];


}


部分文件列表

文件名 大小
数据结构各种算法实现(C++模板).pdf 6M

全部评论(0)

暂无评论