摘要:
//SeqList.h//顺序表类的定义#ifndef SEQLIST_H#define SEQLIST_H#include <iostream>using namespace std;#define true 1#define false 0template<class Type> //模板定义class SeqList{public:SeqList(int defaultSize);~SeqList() {delete []data;} int Length()const{return last + 1;} //计算表长度 int Find(Type &x) 阅读全文