數據結構——順序表的基本操作

本人是初學數據結構的純小白,以下貼出單鏈表的部分操作,若有不足之處,請多多指教 #include<iostream> #define MAXSIZE 100 using namespace std; typedef struct  { int *elem;//儲存空間基地址 int length;//當前長度 }Sqlist; void InitList(Sqlist &L)//初始化順序表 {
相關文章
相關標籤/搜索