搜索资源列表
dhs
- 利用栈判断表达式中左右刮号是否配对出现 包括栈的一些基本操作 如进栈出栈-use expressions stack judgment about whether the scratch, including that Stack matching some basic operations such as stack up into stacks
expression_request
- 计算表达式是实现课程设计语言的基本问题之一,也是栈的应用的一个典型例子。1)要求以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。利用教科书表3.1给出的算符优先关系,实现对算术四则混合运算表达式的求值。2)要求在屏幕的适当位置显示运算符栈,运算数栈,输入字符和主要操作的变化过程!3)要求最好有友好的功能和仿真界面,运算数可以是实数。
sjjg1
- 问题描述 假设停在铁路调度站入口处的车厢序列的编号依次为1,2,3..n。设计一个程序,求出所有可能由此输出的的长度为n的车厢序列。 基本要求 在栈的顺序存储结构SqStack之上实现栈的五种基本要求,即实现栈类型。除了栈初始化操作之外,都要按函数实现。Push(s,x)是一个布尔函数,当且仅当栈s上溢出时返回“假“值;再说明一个ElemType型的常量StackEmptyMark,操作pop(s)和top(s)遇到栈
zhai
- 系统操作中栈的各种基本操作.Windows系统Wintc下编译-system operation stack of basic operations. Wintc under Windows compiler system
wuziqi_c_graphics
- 一个使用C语言写的五子棋程序,在C语言中实现了汉字输出,图形界面的绘制,以及栈的一些基本操作 。是一个在C语言中图形编程入门的学习实例。 基本操作: 空格和回车是下棋; 回退键是悔棋; ESC离开-a C language used to write the 331 procedures in the C language to fulfill the export of Chinese characters,
sting2.doc
- 线性数据结构算法实现 栈的顺序和链式存储存表示与基本算法的实现; 队列的链式存储表示与基本操作算法实现-linear data structure of the stack algorithm sequence and chain store expresses the basic algorithm and the realization; Queue said chain store operation with the ba
data_structure
- C环境下的双向链表和链式栈结构的基本操作,具有一点的通用性-Doubly linked list and the basic operation of the chain stack structure in the C environment, with a little versatility
shujujiegou
- 1.实现顺序表的基本操作,包括顺序表的初始化、第i个元素前插入一个新的元素、删除第i个元素、查找某元素、顺序表的销毁。2.实现单链表、循环链表、双向链表的所有基本操作 3.定义顺序栈类型,实现栈的所有基本操作。定义链栈类型,实现栈的所有基本操作。应用栈实现数制的转换。4.定义顺序队列类型,实现栈的所有基本操作。定义链队列类型,实现栈的所有基本操作。将字符串转换为整形。5.定义二叉链表类型,建立二叉树。先序、中序、后序、层次遍历二叉树,并
stack
- 实现对战的基本操作,如出栈、入栈,取栈顶元素、清空栈等,通过顺序栈和链栈实现-the base function of stack
da
- (1)用顺序栈实现一个支持大整数的加法和减法计算功能的计算程序。 (2)实现创建顺序栈,入栈,出栈等基本操作,并使用这些基本操作协助完成大整数加法的实现。 (3)用if或switch语句设计一个如下页的选择式菜单。-(A) implement a stack with support for large sequential integer addition and subtraction calculations calcul
CPPexam9
- 1. 编写程序 Node.h 实现例 9-5 的节点类,并编写测试程序 lab9_1.cpp 实现链表的基本操作。 2. 编写程序 link.h 实现例 9-6 的链表类。在测试程序 lab9_2.cpp 中声明两个整型链表 A和 B,分别插入 5 个元素,然后把 B 中的元素加入 A 的尾部。 3. 编写程序 queue.h,用链表实现队列(或栈)类。在测试程序 lab9_3.cpp 中声明一个 整型队列(或栈)对象,插入 5
CPPexam9
- 1. 声明 Point 类,有坐标_x,_y 两个成员变量;对 Point 类重载“++”(自增)、“--”(自减)运算符,实现对坐标值的改变。 2. 声明一个车(vehicle)基类,有 Run、Stop 等成员函数,由此派生出自行车(bicycle)类、汽车(motorcar)类,从 bicycle 和 motorcar 派生出摩托车(motorcycle)类,它们都有 Run、Stop 等成员函数。观察虚函数的作用。 1.
Chain-queue
- 栈和队列的基本操作,来自一次数据结构实验内容。-The basic operation of the stack and queue data structure from the first experiments.
Expression-evaluation
- bo3-1.cpp 顺序栈(存储结构由c3-1.h定义)的基本操作(9个) algo3-6.cpp 表达式求值(输入、输出和中间结果均只能是0~9)-Bo3-1.cpp order of the stack (storage structure defined by the c3-1.h) basic operations (9) Algo3-6.cpp expression evaluation (input, output
SQSTACK
- 实现栈及其基本操作; 利用栈实现十进制与八进制数的转换; 利用栈进行括号匹配情况的检验。-Achieve stack and its basic operation use stacks decimal and octal conversion using the stack inspection bracket matching conditions.
Expression-evaluation
- 包含链栈的个操作类,及接口方法声明,主函数实现了基本表达式的求值-Contains the chain stack operations, the statement and interface method, the main function of the realization of the basic expression evaluation
Stack-and-queue
- 用visual c++实现的栈与队列的基本操作。以停车场为例,具有初始化停车场,添加车辆,车辆出停车场,显示所有车位细信息等功能。-With the basic operation of the stack and queue visual the c++ realization. In the parking lot as an example, with initialization parking lot, add the veh
Stack
- 数据结构栈的顺序存储和链式存储结构,及对应的基本操作,以及建立其上的各种功能算法,比如迷宫求解,符号匹配等等。-Data storage and chain structure of the stack sequence storage structure and the corresponding basic operation and to establish the various of the algorithm such as
jianlizhan
- 建立堆栈,实现有关堆栈的插入、删除、入栈、出栈等基本操作-Establishment of a stack, the stack to achieve the basic operation of the relevant insert, delete, stack, stack, etc.
SqStack
- 数据结构顺序栈的存储结构和基本操作的实现(The storage structure of the data structure sequence stack and the implementation of the basic operation)