搜索资源列表
栈类.rar
- 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。
linktostack
- 用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencie
栈和队列CQandS
- 该程序实现了栈和队列的操作,可以作为其他程序的头文件-the program stack and a queue of operation, as with other procedures in the first paper
prog2
- 动态栈的生成,实现入栈和出栈操作,入栈时大小不足,可自动扩充-dynamic stack formation, and pushed out to achieve Stack, stack size at less than that can automatically expand
vStack
- c++类模板示例,模拟栈操作(压栈与出栈)-c class template examples and simulated stack operations (Yazhan with Stack)
PL0-translate
- PL/0语言是Pascal语言的一个子集,是一种简单而且可扩充的语言,在我的测试用例中有具体的体现。它通过词法分析、语法分析、语义分析等过程,生成目标代码,目标代码是一种形似汇编语言的栈操作指令。-PL / 0 Pascal language is a language subset is a simple and extensible language, In my test case with concrete expression. Through lexical analysis, pa
计算式求值栈操作
- 计算式求值栈操作-formula evaluates stack operation
栈的基本操作
- 栈的基本操作,
栈的基本操作
- 关于栈的基本操作
TRACK
- 数据结构课程设计之堆栈的应用,能实现堆栈这个数据结构的基本应用,例如,初始化,出栈和入栈操作等。-Data structure the curriculum design of the stack of applications, to achieve the stack data structure of the basic applications, for example, initialization, a stack and入栈operation.
栈和队列的链接
- 数据结构实验 栈和队列的连接实验 ①编写程序实现循环队列的初始化、入队和出队操作 ②编写程序实现将一个任意的十进制数转换成对应的二进制数 要求: ①用栈的基本操作来实现(具体栈的存储结构可用顺序栈也可用链栈) 十进制数由键盘输入,输出对应的二进制数。 ②在初始化队列后,利用入队操作构建具有n个元素的队列并依次输出队列中的元素。在构建的具有n个元素的队列中,执行出队操作,输出出队后队列中的剩余元素(Data structure experiment stack and queue
出栈入栈
- C语言实现出栈入栈的操作,功能可以实现任意次。(The stack operation is realized in C language)
数据结构-栈
- 定义了栈,只含有一些基本操作,算法很少,对大学初学数据结构者有用(simple sample of stack)
利用栈进行括号匹配检验
- 检验一条信息中括号各个匹配与否。比如输入(){}会提示错误,输入({})会提示正确。 另外附录了线性表基本操作的对应代码(Check whether parentheses match each other in a message. In addition, the corresponding code of the basic operation of the linear table is attached)
作业2_1
- 判断链栈是否为空,取栈顶元素,进栈操作,出栈操作,求表长操作(Determine whether the chain stack is empty, take the top element of stack, stack operation, stack operation, long table operation)
栈
- 实现栈的进站和输出查找操作:查找值为x的元素在单链表中出现的位置(是链表中的第几个元素); 4)压栈和弹栈操作; 5)出队和入队操作(顺序存储)(Carrying and output of the stack)
数据结构-c++-栈的验证-实验报告
- 1.实验目的及要求 1.1 实验目的: 1.掌握栈的顺序存储结构 2.验证顺序栈及其基本操作的实现 3.验证栈的操作特性 1.2 实验要求: 1.建立一个空栈 2.对已建立的栈进行插入、删除、取栈顶元素等基本操作(1. the purpose and requirements of the experiment 1.1 the purpose of the experiment: 1. the sequential storage structure of the m
栈
- 栈的简单实现,代码中包含栈的基本操作(插入,删除,初始化等)(The simple implementation of the stack, which contains the basic operations of the stack (insert, delete, initialization, etc.))
第一次实验课
- 定义单链表类、链式栈类、顺序队列类。 2、 实验验证如下算法的正确性、各种功能及指标: 1)单链表插入操作:在第 i 个元素之后插入值为 x 的结点; 2)单链表删除操作:删除表头结点、表尾结点; 3)查找操作:查找值为 x 的元素在单链表中出现的位置(是链表中的第几个元素); 4)压栈和弹栈操作; 5)出队和入队操作。(Define single chain table class, chain stack class, sequence queue class. 2. The
顺序栈验证实验
- 顺序栈的模板,包括构造函数,析构函数,入栈,出栈,取栈顶元素,判空等基本操作,并在主函数中实现(The template of the sequential stack, including the constructor, the destructor, the push, the pop, the getpop,the empty. Then realize the function of each in the main function.)