推荐星级:
- 1
- 2
- 3
- 4
- 5
数据结构各种算法实现(C++模板)
资料介绍
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)