摘要: //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) 阅读全文
posted @ 2010-04-16 14:07 Java EE 阅读(200) 评论(0) 推荐(0) 编辑