摘要:
1 #include 2 #include 3 4 struct Node 5 { 6 struct Node *next; 7 int num; 8 }; 9 10 struct Node *list = NULL; 11 12 /** 13 * 初始化链表 14 */ 15 void initList() 16 { 17 list = (struct Node *)malloc(sizeof(struct Node)); 18 list->next = NULL; 19 } 20 21 /** 22 *添加链表元素 23... 阅读全文