#include //定义在“seqList.h”中#include #include "linearlist.h"const int defaultSize = 100;template class SeqList: public LinearList {protected: T*data; //存放数组 int maxSize; //最大可容纳表项的项数 int last; //当前已存表项数(从0开始)