-
还是C小程序 很有意思的拉 越编越过隐 大基本功
还是C小程序 很有意思的拉 越编越过隐 大基本功-or C minor procedure very interesting series stretching across the great saphenous basic skills
- 2022-12-24 15:55:04下载
- 积分:1
-
帮人做一个小的心理测试程序,不时显示一个窝…
帮人做的一个心理测试小程序,每隔一段时间显示一个词和标记,要求被测试人员记住,之后回答问题要求记住的和忘记的,并将测试结果输入文件-help people do a small psychological test procedures from time to time show a word and markings required by the test Remember, after answering questions asked to remember and never forget that the test results will be imported paper
- 2022-03-30 12:30:42下载
- 积分:1
-
PLC在LabVIEW实验触发功能的上升沿
在LabVIEW里实验PLC中的上升沿触发的功能-PLC in LabVIEW experiment with the rising edge of the trigger function
- 2023-02-20 13:20:04下载
- 积分:1
-
内存分配与回收,是用TC写的,请大家
内存分配与回收,是用TC写的,请大家-memory allocation and recovery, is TC wrote, please s
- 2022-10-29 09:25:04下载
- 积分:1
-
2003
2003 - 2004 学年度(下)C++ 课程设计题目 实现简单的教师信息管理系统,使用到了链表,定义了一个 TeacherList 类,可以实现简单的插入,查找,删除等功能,涉及到二进制文件的读写操作。-2003- 2004 school year (the) C++ Curriculum design subject teachers to achieve a simple information management system, the use of the list, TeacherList defines a category, you can achieve a simple insert, find, delete and other functions related to binary file The read-write operation.
- 2023-03-04 23:45:04下载
- 积分:1
-
prepared using Visual C procedures. MFC suitable for beginners learning from the...
用VISUAL C++编写的程序.适合初学MFC的人学习.-prepared using Visual C procedures. MFC suitable for beginners learning from the people.
- 2022-11-18 19:25:03下载
- 积分:1
-
UCOS一种只支持优先级抢占型调度的操作系统。它不支持同一个优先级有2个及以上的任务同时运作。
本文修改的UCOS支持不同优先级调度的同时,支持同一个优先级...
UCOS一种只支持优先级抢占型调度的操作系统。它不支持同一个优先级有2个及以上的任务同时运作。
本文修改的UCOS支持不同优先级调度的同时,支持同一个优先级有2个以上的任务以时间片轮转方式进行调度。
这个就是UCOS和修改的UCOS的区别。-UCOS only support a priority-based scheduling of the operating system to seize. It does not support the same priority level 2 and above have the task of operating at the same time. This article uCOS modified to support different priority scheduling at the same time, support the same priority level has two more tasks to the time slice approach to scheduling rotation. This is uCOS uCOS and modified difference.
- 2022-07-01 06:29:14下载
- 积分:1
-
delphi写的一款不错的通讯录软件,适合初学者下载.
delphi写的一款不错的通讯录软件,适合初学者下载.-delphi write a good address book software, suitable for beginners to download.
- 2022-03-01 23:05:46下载
- 积分:1
-
一个简单的猜数字游戏的编程,编译已经完全通过,绝无问题
一个简单的猜数字游戏的编程,编译已经完全通过,绝无问题-猜数字a simple game programming, the compiler has completely passed, no problem
- 2022-08-10 05:17:00下载
- 积分:1
-
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路...
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点
[存储结构]
图采用邻接矩阵的方式存储。
[算法的基本思想]
采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达B点的路径,一定是边数最少的路径。实现时采用队列记录被访问过的顶点。每次访问与队头顶点相邻接的顶点,然后将队头顶点从队列中删去。若队空,则说明到不存在通路。在访问顶点过程中,每次把当前顶点的序号作为与其邻接的未访问的顶点的前驱顶点记录下来,以便输出时回溯。
#include
int number //队列类型
typedef struct{
int q[20]
-[imported] map of the number of vertices N, Vertex map of the relationship between the starting point and end point A and B [output] if A to B without path then exporting "There is no path" Otherwise output A to B on the path vertices [storage structure] plan adopted adjacency matrix of storage. [Algorithm for the basic idea] BFS way from the vertex A, A visit followed with adjacent vertices VA1, VA2 ,..., VAK, visiting times, if not visit B, continue to visit with the VA1 adjacent vertices VA11, VA12 ,..., VA1M. VA2 and then
- 2022-01-25 22:50:29下载
- 积分:1