-
模拟队列存储器
储器是一种能够存储大量二进制信息的逻辑电路,通常用于数字系统大量数据的存储。存储器的工作原理是:存储器为每一个存储单元都编写一个地址,只有地址指定的那些存储单元才能够与公共的I/O相连,然后进行存储数据的读写操作。在计算机领域中,队列是不可忽视的概念。队列是一种数据项按顺序排列的数据结构,但它的特殊之处在于,一端只能进行数据的插入操作,另一端只能进行数据的删除。
- 2022-03-09 10:59:51下载
- 积分:1
-
这是在VC下本人编写的解决八皇后问题的程序 ,92种解会直接输出在C:SIGN。H文件中。是用来测试一款C编译器而写的。...
这是在VC下本人编写的解决八皇后问题的程序 ,92种解会直接输出在C:SIGN。H文件中。是用来测试一款C编译器而写的。-This the VC I prepared by the Queen"s problem to solve eight procedures, 92 kinds of solutions will be directly output in the C : SIGN. H files. It is used to test new C compiler written.
- 2022-01-28 18:15:56下载
- 积分:1
-
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用...
一个封装好的产生随机数的类,十分好用,是学数据结构是写的,希望对大学有用-Generate a good random number package class, very easy to use is data structure is written in the hope of the University of useful
- 2022-01-31 13:43:50下载
- 积分:1
-
access into execl facilitate print statements, etc.
access转换为execl,方便打印报表-access into execl facilitate print statements, etc.
- 2022-03-23 05:18:28下载
- 积分:1
-
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g ....
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g .
[输出]
按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,中序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点。根据左右子树的最后一个结点计算出二叉树中叶子结点的数目。
程序如下:
#include
#include
#include"stdlib.h" -1. [Description of the issue] to prepare recursive algorithm, Binary calculation leaves the number of nodes [imported] in accordance with the first order input sequence in the order of the node contents. Input abd eh i g cf. [Output] by the order sequence output, the results of the output; dbheaficg calculated Binary leaf node to the number four [storage structure] Table 2 forks storage [ The basic idea algorithm] recursive method and traverse binary tree. First established binary tree root node, and then to build their son around the tree, the tree until the loopholes, which preorder binary tree, Li first times the left sub-tree, right af
- 2023-08-31 16:00:04下载
- 积分:1
-
VB编写的简单打印控件
VB编写的简单打印控件-prepared by the simple VB Control Print
- 2022-07-22 23:42:00下载
- 积分:1
-
Data structure to solve the problem in the maze, the maze problem. Vcproj This i...
数据结构中迷宫问题的求解,迷宫问题.vcproj
这是使用应用程序向导生成的 VC++ 项目的主项目文件。
它包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
迷宫问题.cpp
这是主应用程序源文件。
StdAfx.h, StdAfx.cpp
这些文件用于生成名为 迷宫问题.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
-Data structure to solve the problem in the maze, the maze problem. Vcproj This is using an application wizard to generate the VC++ project the main project document. It contains the document to generate Visual C++ version information, as well as applications relating to the use of the wizard select the platform, configuration and project features. Maze problem. Cpp This is the main application source file. StdAfx.h, StdAfx.cpp these files used to generate a maze called the question. Pch precompiled header (PCH) files and named StdAfx.obj type of pre-compiled files.
- 2022-06-21 21:34:29下载
- 积分:1
-
在线投票系统,本系统采用myeclipse开发工具,结合sqlserver2000数据库。完成一个在线投票系统...
在线投票系统,本系统采用myeclipse开发工具,结合sqlserver2000数据库。完成一个在线投票系统-Online voting system, this system development tools myeclipse, combined with sqlserver2000 database. Completion of an online voting system
- 2022-09-16 01:30:03下载
- 积分:1
-
1.定义线性表的链式存储结构
2.在线性表的链式存储结构上,编写函数实现链表的初始化,插入、删除,输出、销毁等算法。...
1.定义线性表的链式存储结构
2.在线性表的链式存储结构上,编写函数实现链表的初始化,插入、删除,输出、销毁等算法。-1. The definition of a linear form chain storage structure 2. Online sex store chain structure of the table, write a function to achieve the initialization list, insert, delete, export, destruction algorithm.
- 2023-02-08 10:00:04下载
- 积分:1
-
一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包括了所需的数据库文件.可直接附加到SQL服务器....
一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包括了所需的数据库文件.可直接附加到SQL服务器.-Using MFC to prepare a family financial management system. Using sqlserver database. Compressed package includes the necessary database files. Can be directly attached to the SQL server.
- 2023-03-28 15:15:03下载
- 积分:1