C語言實現順序表(註釋很是詳細了)

定義順序表和元素web //定義數據元素的數據項 typedef struct { int id; char* name; }ElementType; //定義順序表 typedef struct { ElementType datas[MAX_SIZE]; //順序表中的元素的集合,每一個元素是一個結構體,其中有兩個數據項 int length; //當前順序
相關文章
相關標籤/搜索