摘要: #include <iostream> using namespace std; #define MaxSize 10 typedef struct{ int data[MaxSize]; int length; }Sqlist; void ListInsert(Sqlist &L,int i;in 阅读全文
posted @ 2023-09-04 21:18 ly2553 阅读(16) 评论(0) 推荐(0)
摘要: #include <stdlib.h> #define InitSize 10 //默认最大长度 typedef struct{ int *data; //顺序表的起始地址 int maxsize;//最大容量 int length;//当前长度 }SeqList; //初始化顺序表 void In 阅读全文
posted @ 2023-09-03 16:49 ly2553 阅读(48) 评论(0) 推荐(0)