摘要:
Node *create(){ DoubLink *list; Node *p, *pNew, *pHead; pHead = (Node *)malloc(sizeof(Node)); pHead->next = NULL; pHead->prior = NULL;//第一个节点 p = pHea...
阅读全文
posted @ 2013-04-25 15:15
纯洁的坏蛋
阅读(265)
推荐(0)
编辑
摘要:
Node *create(){ int n = 20; Node *pNew, *pTail, *pHead; pHead = (Node *)malloc(sizeof(Node)); pHead->next = pHead;//空链表 自己指向自己 pTail = pHead; //pTail...
阅读全文
posted @ 2013-04-25 13:51
纯洁的坏蛋
阅读(603)
推荐(0)
编辑
摘要:
#include #include typedef struct Node{ int data; //数据域 Node *next; //指针域,指向下一个Node节点}Node;Node *create(); //创建一个单链表int deleteFromList(Node *linkList, ...
阅读全文
posted @ 2013-04-25 11:43
纯洁的坏蛋
阅读(416)
推荐(0)
编辑