摘要: #include<stdio.h>#include<stdlib.h>typedef int ElemType;typedef struct Lnode{ ElemType data; struct Lnode *next;}Lnode,*LinkList;void CreateList(LinkList &l);//创建void ShowList(LinkList &l);//输出链表int CountList(LinkList &l);//计算结点数int CountNodeAdd(LinkList &l);//计算元素和int Co 阅读全文
posted @ 2011-12-15 17:13 rui_gao 阅读(219) 评论(1) 推荐(0) 编辑