链表的实现
链表 #include <stdio.h> #include <malloc.h> typedef struct Node { int data; struct Node* next; }Node, * LinkList; //头节点创建 void CreateListHead(LinkList &L) { int i; L = (LinkList)malloc(sizeof(Node)); L->next = NULL; } //节点增加 void ListAdd(LinkList L, int n) { int j; LinkList p, s; p = L; while (p->nex..
Read more