-
数据结构,队列,医院预约看病程序
应用背景在较复杂的数据处理过程中,通常需要保存多个临时产生的数据,如果先产生的数据先进行处理,那么需要用队列来保存这些数据。关键技术看病,采用先到先看的原则,由于人数的不确定性,这里采用一个带节点的单链表作为队列的存储结构。
- 2022-07-11 01:14:36下载
- 积分:1
-
ABCDEFGHIJK
;;;;![endif]-->;;;![endif]-->;;;![endif]-->;;;![endif]-->;;-->;
- 2023-07-22 23:50:13下载
- 积分:1
-
加油站管理系统
1.Src目录
加油站管理系统的源代码,是用VisualC++6开发;
2.Bin目录
加油站管理系统的可执行程序;
3.Database目录
加油站管理系统所用到的数据库,运行加油站管理系统之前请先使用SQL Server 2000的查询分析器创建此数据库。在SQL SERVER2000的查询分析器中打开sql目录中的"加油站管理系统数据库.txt"文件,全选所有代码后按下F5运行创建运行本程序所需要的数据库。具体请参考书中《4.2.1节 分析、执行SQL语句》。
4.创建数据库后默认的登陆用户可以是:账号1,密码999。
5.运行程序前需要在SQL SERVER2000的企业管理器中将用户sa的密码设置为空。选择《企业管理器》中的《安全性》中的《登录》,双击sa设置
- 2022-10-09 17:55:03下载
- 积分:1
-
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh...
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置
[输出]
若二叉树不空,按先序序列输出,求出所求位置的结点
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,先序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点并计算出二叉树中叶子结点的数目和第K个位置的结点
#include
#include
struct node{
char info
struct node*llink,*rlink
}
typedef struct node NODE
-2. [Description of the issue] to prepare recursive algorithm, Binary for the first sequence sequence in the first position of the K-node [imported] in accordance with the first order input sequence in the order of the nodes content. Input abd eh i g cf. Import requirements of the position [output] if the binary tree is not empty, the first sequence by sequence output obtained by seeking the location of nodes [storage structure] Table 2 forks storage [algorithm for the basic idea] recursive method and Traversing binary tree. First established binary tree root node, and then to build t
- 2022-06-02 16:30:44下载
- 积分:1
-
very typical recursive algorithm to obtain the designated folder sizes. Win case...
非常典型的递归算法来获得指定的文件夹大小。Win案例中使用API Findfirst FindNext完成。
- 2022-02-01 14:09:59下载
- 积分:1
-
此程序是利用图形函数画Lagranges函数,分段插值函数,Hermite函数的函数图形...
此程序是利用图形函数画Lagranges函数,分段插值函数,Hermite函数的函数图形-This program is the use of graphics functions draw Lagranges function, sub-interpolation function, Hermite function is a function of graphical
- 2022-02-14 08:52:56下载
- 积分:1
-
公交车查询系统
公交车查询系统-Bus Inquiry System
- 2022-06-12 16:09:13下载
- 积分:1
-
I do two large one on object
我大2做的一个关于面向对象的课程设计-I do two large one on object-oriented design courses
- 2022-05-30 10:29:22下载
- 积分:1
-
类处理,异常处理,超载的编码,REM addnewstuden…
类的处理,异常处理,超载的编码,REM AddNewStudent.sql
REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman-Class processing, exception handling, overloading the encoding, REM AddNewStudent.sql REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman
- 2022-07-16 01:28:27下载
- 积分:1
-
数据结构与算法――C++版 好书要不要,不用付钱的哦
数据结构与算法――C++版 好书要不要,不用付钱的哦-data structures and algorithms-- C version of the books should not and do not have to pay oh
- 2022-05-09 09:58:50下载
- 积分:1