摘要:
C版的链表先要了解动态内存分配函数malloc的使用,使用结构表示节点单元。代码如下: 1#include 2 3struct llist 4{ 5 int num; 6 char name[10]; 7 struct llist *next; 8}; 9typedef struct llist node;10typedef node *llink;1112void main... 阅读全文
posted @ 2005-05-12 22:18
小新0574
阅读(2823)
评论(8)
推荐(0)
浙公网安备 33010602011771号