-
单源点最短路径算法
* 本程序用来实现单源点最短路径(E.Dijkstra)算法
* 在Turbo C2.0编译器下编译通过
* 算法过程中...
单源点最短路径算法
* 本程序用来实现单源点最短路径(E.Dijkstra)算法
* 在Turbo C2.0编译器下编译通过
* 算法过程中
* 每条边的两个顶点和权值由用户输入,格式:1 2 20
* 程序默认源点为第一个顶点
* 算法完成后输出路径长度和路径上的顶点
* 格式为:路径长度:目标顶点
- 2022-03-23 04:50:33下载
- 积分:1
-
超长整数类及演示程序
超长整数类及演示程序-long integer type and Demonstration Program
- 2022-10-30 23:00:03下载
- 积分:1
-
我做的一个图书馆数据库系统,有3,4个表。适合参考
我做的一个图书馆数据库系统,有3,4个表。适合参考-I make a library database system, there are tables 3,4. Suitable reference
- 2022-04-02 00:49:57下载
- 积分:1
-
数据结构——链表(双向循环链表)
双向循环链表节点:数据域+指针域指针域:一个指针指向前一个同类型节点,另一个指针指向后一个同类型节点(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
-
简单的迷宫程序,是基本的数据结构入门程序,适合初学者学习...
简单的迷宫程序,是基本的数据结构入门程序,适合初学者学习-A simple maze procedure, is the basic data structure entry procedures
- 2023-01-06 22:25:04下载
- 积分:1
-
用内嵌法求多项式
用内嵌法求多项式-with embedded Polynomial Method
- 2022-11-12 06:55:03下载
- 积分:1
-
a simple binary tree algorithm, including the binary tree traversal, but also ad...
一个最简单的二叉树的算法,包括二叉树的各种遍历,还添加了队列的层序遍历-a simple binary tree algorithm, including the binary tree traversal, but also adds a layer of Queue preorder
- 2022-02-15 00:00:29下载
- 积分:1
-
Implementing a queue data structure
Implementing a queue data structure
- 2022-01-20 22:39:06下载
- 积分:1
-
VHDL实现布斯算法
VHDL实现布斯算法-VHDL Booth algorithm
- 2022-02-04 04:17:51下载
- 积分:1
-
VC下ADO开发实践,整理总结的一片文章,可以按照其说明学习在VC环境下的ADO数据库应用程序开发...
VC下ADO开发实践,整理总结的一片文章,可以按照其说明学习在VC环境下的ADO数据库应用程序开发-VC developed under the ADO practice, finishing a summary of the article, you can note in accordance with their learning in VC environment ADO database application development
- 2022-02-05 07:58:12下载
- 积分:1