-
我搜集的C 语言教程
我搜集的C 语言教程 -I collected the C Language Guide
- 2022-12-16 02:15:03下载
- 积分:1
-
时钟设置时钟类程序,设置二次时间并显示输出和学生信息
时钟设置时钟类程序,设置二次时间并显示输出和学生信息-clock set the clock category, the setting is the second time, and output of information and students
- 2022-03-18 09:32:14下载
- 积分:1
-
全部用W32 API制作,简单的,好玩的贪食双蛇游戏
全部用W32 API制作,简单的,好玩的贪食双蛇游戏-all produced using Win32 API, a simple, fun game glutton snake-
- 2022-03-20 15:42:42下载
- 积分:1
-
动作类游戏,很适合现在的年轻朋友玩,而且设备简单,操作灵活,内容有趣...
动作类游戏,很适合现在的年轻朋友玩,而且设备简单,操作灵活,内容有趣-action game, which is perfect for the young people to play, but simple equipment, operational flexibility, interesting!
- 2022-02-03 05:38:22下载
- 积分:1
-
天气识别的知识库系统
建立一个天气识别的知识库系统,输入相应的事实,系统最终能得出天气的状况。
- 2022-03-10 03:09:46下载
- 积分: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
-
template实例 可以测试编译器支持的标准程度,g++和borland c++编译器都能通过...
template实例 可以测试编译器支持的标准程度,g++和borland c++编译器都能通过-template examples can test the compiler to support the standard, g and borland c compiler can be accessed through the
- 2022-03-06 01:52:10下载
- 积分:1
-
GPS数据采集程序,涉及仪器接口操作,以及数据处理与解析,多线程,是个比较完善的例子...
GPS数据采集程序,涉及仪器接口操作,以及数据处理与解析,多线程,是个比较完善的例子 -GPS data collection procedures, involving operation of equipment interfaces, as well as data processing and analysis, multi-threaded, it is a relatively perfect example
- 2022-01-24 17:00:04下载
- 积分:1
-
8 characteristics: 1. Automatically enumerate the serial, so to avoid some of th...
8大特色:
1.自动枚举串口,这样避免了有些机器串口多,或者串号号>4的情况。
2.保存文件格式为txt和CSV,可选,方便做数据分析。
3.保存文件在执行文件程序路径下的SaveData文件夹里
4.增加多字节联合显示
5.2字节时,十六进制会加"0x"头,非十六进制时,以十进制显示,末尾自动加一空格,以区分。
6.4字节时,只能以十六进制显示(因十进制以超出范围,也没有必要显示那么大一个数)。
7.增加实时显示数据曲线功能。
8.界面更人性化,方便适用。-8 characteristics: 1. Automatically enumerate the serial, so to avoid some of the machine serial number or serial number No.
- 2022-03-17 03:47:24下载
- 积分:1
-
1. The use of serial port with two west4170 (PID Control Temperature Instrumenta...
1.使用串口同两块west4170(PID控制温度仪表).
2.可以显示当前温度,并可设定参数(主要是设定温度)-1. The use of serial port with two west4170 (PID Control Temperature Instrumentation) .2. Can display the current temperature, and set the parameters (mainly temperature)
- 2023-08-13 16:55:03下载
- 积分:1