單鏈表——頭插法、尾插法和查找

#include<stdio.h> #include<malloc.h> #define OK 1 #define ERROR 0   typedef struct Node { int date; struct Node * next; }Node, *LinkList;   void InitList(LinkList *L)//初始化單鏈表 { *L=(LinkList)malloc(siz
相關文章
相關標籤/搜索