順序表的基本操做——插入、刪除

順序表的基本操做——插入、刪除 一、順序表的基本操做——插入 ListInsert(&L,i,e):插入操做。在表中的第i個位置上插入指定元素e。c++ #include<stdio.h> #define MaxSize 10 //定義最大長度 typedef struct { int data[MaxSize]; //用靜態的「數組」存放數據元素 int length;
相關文章
相關標籤/搜索