//*********************************** //功能:顺序表的元素递增排列,删除表中的重复元素 //日期:2017年9月19日 //作者:Ryan2019 //*********************************** #include using namespace std; const int ListlnitSize=0; const int Listlnc=10; typedef int LElemType; struct SList { LElemType *elem; int length,listsize; }; bool Listlnit(SList &L);//顺序表初始化 bool ListCreate(SList &L,int n,LElemType a[]);//创建顺序表 bool DeleteRepeat(SList &A);//新表 int main() { const int m=8; LElemType a[m]={1,1,2,2,3,4,4,4}; SList A; ListCreate(A,m,a); cout<<"线性表A为"<