-
Visual C++课程设计案例精编
Visual C++课程设计案例精编--通讯录-Visual C cases intensive curriculum design series-- directory
- 2022-02-07 03:51:35下载
- 积分:1
-
The code used to calculate the band TVI values, the code from the operating proc...
该代码用于计算波段的TVI值,该代码来源于作业程序,属于实验程序-The code used to calculate the band TVI values, the code from the operating procedures, an experimental procedure
- 2022-07-10 21:49:25下载
- 积分: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
-
simple hierarchical management and inventory management for software used for th...
简单的分层管理的库存管理及查询软件,供大家交流用。-simple hierarchical management and inventory management for software used for the exchange.
- 2022-07-22 21:35:01下载
- 积分:1
-
一个简单易用的串口调试工具.全api完成.
一个简单易用的串口调试工具.全api完成.-A simple serial-to-use debug tools. The completion of the entire api.
- 2022-02-25 06:45:26下载
- 积分:1
-
一个简单的数据库增加和删减的程序,完成对ACCESS数据库中数据添加和删除....
一个简单的数据库增加和删减的程序,完成对ACCESS数据库中数据添加和删除.-A simple increase in the database and deletion procedures, completion of the ACCESS database to add and delete data.
- 2022-03-13 01:42:55下载
- 积分:1
-
一个小程序,本地是access,网络是Oracle
一个小程序,本地是access,网络是Oracle-A small program, the local is the access, the network is the Oracle
- 2022-02-02 06:10:41下载
- 积分:1
-
迷宫求解(全部解)
共有三个文件maze.h mclass.cpp t3.cpp
希望大家多提意见...
迷宫求解(全部解)
共有三个文件maze.h mclass.cpp t3.cpp
希望大家多提意见-Maze Solving (all solutions) there are three documents maze.h mclass.cpp t3.cpp do so hope that everyone
- 2022-10-11 16:25:03下载
- 积分:1
-
在足球比赛中,操作系统在语言的发展过程中,是足球成绩…
在symbian os 上运行,开发语言是symbian c++,和标准c++有点区别。演示了标准的在symbian 显示文本的方式。入门级程序代码-in football scores os running on the development of language is football scores c, c and standards somewhat different. Demonstration of the standard text in football scores show the way. Entry-level code
- 2022-06-26 18:47:16下载
- 积分:1
-
主控程序,协调内存,cpu直间缓存操作
主控程序,协调内存,cpu直间缓存操作-control procedures, coordination of memory, cpu cache operation between straight
- 2022-02-12 22:20:26下载
- 积分:1