c中双向链表的简单使用

#include <stdio.h> #include <stdlib.h> //定义结构体 typedef struct Test{ int data; struct Test *prev; struct Test *next; }T; /* *建立双向链表 */ T *create_linked(){ T *head,*node,*end; //定义头结点,中间节点和尾节点 i
相关文章
相关标签/搜索