摘要: 因为平时经常使用链表,所以仿照维基百科上的链表解释,写了一个链表头文件,以后方便使用。#include <stdio.h>#include <stdlib.h>#include <memory.h>#include <malloc.h>/*** zhangzxpan * 单向链表 **///节点 struct Node{ void *datap; struct Node *next; };//链表头struct LinkedList{ struct Node head; int size; int elmsize; int isempty; }; 阅读全文
posted @ 2012-04-16 22:42 理想的肉饼 阅读(368) 评论(1) 推荐(0)