- 博客(3)
- 收藏
- 关注
原创 链表的基本操作(c链表实现)
#include #include #include using namespace std; typedef struct node{ int data; struct node*next; }node; node*tou(node*head,int num)//从头部插入num { node*p=NULL; p=(node*)mal
2015-10-27 20:45:14 327
原创 栈的基本操作(c链表实现)
#include #include #include using namespace std; typedef struct node{ int data; struct node*next; }node; node*insert(node*head,int da)//链表头部插入数据 { node*p=NULL; p=(no
2015-10-27 20:42:59 85
原创 队列即基本操作(c链表实现)
#include #include #include using namespace std; typedef struct node{ int data; struct node*next; }node;//定义一个节点 typedef struct queue{ node*front; node*end;
2015-10-27 20:41:45 460
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人