實現循環單鏈表各類基本運算的算法

/*algo2-1.cpp*/ #include<stdio.h> #include<malloc.h> typedef char ElemType; typedef struct LNode/*定義單鏈表結點類型*/ {  ElemType data;  struct LNode * next; }LinkList; void InitList(LinkList * &L)/*建立頭結點*/ {
相關文章
相關標籤/搜索