搜索资源列表
-
0下载:
以二叉链表为存储结构,建立二叉树、先序遍历二叉树、求二叉树节点总数、叶子数、树高度的算法。队列抽象数据类型的顺序、链式表示与实现,并可对上面建立的二叉树按层次遍历。-List in Binary for the storage structure, the establishment of binary tree, the first tree traversal, and the total number of tree nodes, the number of leaves, tree he
-
-
0下载:
1、由于计算的的是大数且计算机表示的整数大小有限,顾考虑用抽象数据类型实现。
2、每个节点存储整数,位数最大为三位。
3、能从键盘上输入要计算的数,从终端输出结果。
4、测试数据为20以上的整数,如1000,5000 等
-1, as a result of the calculation is that large numbers of computers and that the limited size of the integer, Gu consider the rea
-
-
0下载:
多项式运算器。用抽象数据类型实现,可进行多项式的加减乘等运算。-Polynomial calculator. T realized by the Abstract Data Types. can be carried out by addition and subtraction of polynomials, such as computing.
-
-
0下载:
This a Small Container Library, SCL.
If you are not sure what a container is, then ignore the word container in this
file and you ll probably understand everything.
This library provides hash tables, list, queue, stack, symbol, balanced b
-
-
0下载:
:此程序是一个简单的模拟电梯升降的系统。在现实中,电梯系统要由乘客和电梯相互作用而形成的一个灵活的系统,电梯升降需要人的指令,而人也可以在等待时间过长而离开。虽然他们的行为可能受对方的作用,但是他们的行为是基本独立的。所以在这个程序模拟中,我将其分成几个抽象数据类型,并且做好每一部份的相互联系。在程序运行中输入乘客所进入的楼层,将要去的楼层,等待最长时间等数据可以完成其模拟。而这个系统可以很好的模拟现实中的电梯运行的状态。-This program is a simple simulation
-
-
0下载:
实现抽象数据类型复数的加法减法乘法除法四种基本运算运算,-To achieve the complex addition and subtraction, multiplication and division of abstract data types
-
-
0下载:
用堆分配存储表示实现Hstring串类型的最小子集的基础上,实现串抽象数据类型的其余基本操作(不使用C语言本身提供的串函数)。参数合法性检查必须严格。
利用上述基本操作函数构造以下系统:它是一个命令解释程序,循环往复地处理用户键入的每一条命令,直至终止程序的命令为止。命令定义见“题集”P120,实现以下操作:(1)赋值、(2)求长度、(3)求子串、(4)比较、(5)KMP匹配、(6)显示。
-Achieved with heap-allocated storage foundatio
-
-
0下载:
Object-Oriented Design and
Programming
C++ Language Support for
Abstract Data Types
Douglas C. Schmidt
-
-
0下载:
二叉树抽象数据类型,具体功能实现,结构体定义源码-Binary abstract data types, to achieve specific functions, structure definition source
-
-
0下载:
在迷宫设计中,需要设计迷宫的大小、迷宫的出入口、根据输入的入口来寻找迷宫的出口,并把路径输出来。
在设计迷宫大小和出入口时,采用的是根据操作者实现的,但迷宫的具体路障和通道是随机实现的。
主程序从main()函数中进行,包括输入迷宫的大小等信息,然后调用迷宫模块,在迷宫模块中也调用了栈的模块。
栈模块——实现栈抽象数据类型
迷宫模块——实现迷宫抽象数据类型-In the design of the maze, it is required to design the size o
-
-
0下载:
Big integer in C++. Allows for addition, subtraction and comparison
-