-
数据结构——链表(双向循环链表)
双向循环链表节点:数据域+指针域指针域:一个指针指向前一个同类型节点,另一个指针指向后一个同类型节点(1)设计节点struct db_node{int data;struct db_node * prev;struct db_node * next;};(2)创建空链表//创建了一个只有头节点的双向循环链表,返回头节点的地址struct db_node * create_db_list(void){struct db_node * phead = (struct db_node *)malloc(sizeof(struct db_node));if(phead == NULL)exit(-1);else{phead->next = phead;phead->prev = phead;}return phead;}(3)制造新节点//制造新节点,返回新节点的地址struct db_node * make_db_node(int value){struct db_node * pnew = (struct db_node *)malloc(sizeof(struct db_node));if(pnew == NULL)printf("malloc failed!
");else{pnew->data = value;pnew->next = NULL;pnew->prev = NULL;}return pnew;}(4)插入节点//把pnew指向的节点插入到头节点的前面,也就是整个链表的末尾bo
- 2022-02-14 07:06:11下载
- 积分:1
-
mysql db utils 还原和备份
这是 mysql db utils project.it 支持还原和 mysql.it 的备份是轻量化的项目。它是更多友好比命令行。更多的是轻型比其它工具。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-02-12 11:08:00下载
- 积分:1
-
ACCESS数据库的压缩,备份,还原,下载,删除的实现
ACCESS数据库的压缩,备份,还原,下载,删除的实现-no
- 2023-03-20 02:10:03下载
- 积分:1
-
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用...
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用-Generate a good random number package class, very easy to use is data structure is written in the hope of the University of useful
- 2022-01-31 13:43:50下载
- 积分:1
-
动态网站购物
应用背景关键技术
- 2023-01-27 14:15:04下载
- 积分:1
-
common barcode printing program
通用的条码打印程序-common barcode printing program
- 2022-07-12 05:51:44下载
- 积分:1
-
这是用QB编的排序程序。利用条形显示冒泡排序、快速排序、等五种排序方法。 效果一流,对于C语言,数据结构爱好者是不错的选择。...
这是用QB编的排序程序。利用条形显示冒泡排序、快速排序、等五种排序方法。 效果一流,对于C语言,数据结构爱好者是不错的选择。-This is the sort made by QB procedures. Strip shows that the use of Bubble Sort, Quick Sort, five sorting method. The effect of first-class, for C language, data structure enthusiasts is a good choice.
- 2022-06-15 06:19:40下载
- 积分:1
-
derby database source code.good for you.
derby database source code.good for you.
- 2022-01-25 18:18:49下载
- 积分:1
-
various algorithm C language, graphic menu, ordering random number generation.
各种排序算法的C语言实现,图形菜单,排序数随机生成.-various algorithm C language, graphic menu, ordering random number generation.
- 2022-06-16 20:22:16下载
- 积分:1
-
本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树
本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。 本书内容广博权威,结构清晰合理,是一本全新的有关数据结构与算法的教材,对于计算机科学与工程领域的从业人员也是一本很好的参考书。-the book is on the computer science and engineering fields, the basis for one of the subjects of study-- data structure and algorithm monographs. The book in a brief review of the basic design concept C program on the basis of a comprehensive and systematic introduction of the queue, stack, trees and map basic data structure and the greedy algorithm, divide and conquer algorithm, branch-and-bound algorithm multiple algorithm design methods, data structures and algorithms for continuous learning Research and lay a solid foundation. Even more valuable is that the book not only on the theoretical knowledge but also provided more than 50 application examples and more than 600 Exercises Road. The contents broad authority, a clear and reasona
- 2022-01-21 04:28:51下载
- 积分:1