摘要: 1 /* 2 *@author ? 3 *@since 2011/07/29 4 *@function 实现链表的常用操作,比较粗糙。 5 * 功能大概是:显示链表结构;查询链表;删除节点;插入结点;修改结点 6 */ 7 #include <stdio.h> 8 #include <stdlib.h> 9 10 struct node 11 { 12 int value; 13 struct node *next; 14 }; 15 /* 16 *插入结点(单个) 17 */ 18 struct node *add_to_list(struct node *list, 阅读全文
posted @ 2011-07-29 18:08 KISS's blog 阅读(2449) 评论(1) 推荐(1) 编辑