摘要: 源程序: // main.cpp // stack_quhao // Created by duanqibo on 2019/6/29. // Copyright © 2019年 duanqibo. All rights reserved. // 顺序栈的操作,整数进栈,取栈顶元素,栈内剩余元素 # 阅读全文
posted @ 2019-11-12 14:22 bobo哥 阅读(257) 评论(0) 推荐(0)
摘要: 源程序: #include <stdio.h> #include <stdlib.h> //双向链表结点的定义 typedef struct dbnode { int data; struct dbnode *prio, *next; }DbNode, linkdblist; //创建双向链表 Db 阅读全文
posted @ 2019-11-12 13:25 bobo哥 阅读(231) 评论(1) 推荐(0)
摘要: 源程序: #include <stdio.h> #include <stdlib.h> typedef struct node { int data; struct node *next; }linklist; //创建单向循环链表 linklist *creatlist() { linklist 阅读全文
posted @ 2019-11-12 12:53 bobo哥 阅读(297) 评论(0) 推荐(0)