文件名称:STACKS
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.43mb
- 下载次数:
- 0次
- 提 供 者:
- 房**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
堆栈、队列的链式实现
基本要求:所设计的程序要有简单的DOS界面,方便用户进行操作,完成以下功能:
以链式存储方式,实现堆栈的入栈、出栈、取栈顶元素功能。
以链式存储方式,实现带表头结点的循环队列的入队、出队、取队首元素、求队列长度。
查找出队列中的最大元素。
利用所实现的堆栈对队列中元素进行逆置,并将结果输出到文本文件中。
提高要求:
系统运行时能从文本文件中读取堆栈、队列元素信息,运行结束能将堆栈、队列最新元素信息保存至相应文件中。-Stack, queue chain to achieve
Basic Requirements: The program is designed to have a simple DOS interface, user-friendly operation, complete the following functions:
With chain storage, to achieve stack stack, stack, take the top element function.
With chain storage, with a header node to achieve the cycle queue into the team, a team, take the team s first element, find the queue length.
Find the largest element in the queue.
Achieved using a stack of queue, set against the elements, and outputs the results to a text file.
Improve the requirements:
Run-time system to read from a text file stack, queue element information, can run the end of the stack, queue information is saved to the latest element in the corresponding file.
基本要求:所设计的程序要有简单的DOS界面,方便用户进行操作,完成以下功能:
以链式存储方式,实现堆栈的入栈、出栈、取栈顶元素功能。
以链式存储方式,实现带表头结点的循环队列的入队、出队、取队首元素、求队列长度。
查找出队列中的最大元素。
利用所实现的堆栈对队列中元素进行逆置,并将结果输出到文本文件中。
提高要求:
系统运行时能从文本文件中读取堆栈、队列元素信息,运行结束能将堆栈、队列最新元素信息保存至相应文件中。-Stack, queue chain to achieve
Basic Requirements: The program is designed to have a simple DOS interface, user-friendly operation, complete the following functions:
With chain storage, to achieve stack stack, stack, take the top element function.
With chain storage, with a header node to achieve the cycle queue into the team, a team, take the team s first element, find the queue length.
Find the largest element in the queue.
Achieved using a stack of queue, set against the elements, and outputs the results to a text file.
Improve the requirements:
Run-time system to read from a text file stack, queue element information, can run the end of the stack, queue information is saved to the latest element in the corresponding file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
堆栈、队列的链式实现\Debug\stacks.exe
....................\.....\stacks.ilk
....................\.....\stacks.pdb
....................\stacks\data.dat
....................\......\Debug\BuildLog.htm
....................\......\.....\data.dat
....................\......\.....\mt.dep
....................\......\.....\stacks.exe
....................\......\.....\stacks.exe.intermediate.manifest
....................\......\.....\stacks.ilk
....................\......\.....\stacks.obj
....................\......\.....\stacks.pch
....................\......\.....\stacks.pdb
....................\......\.....\vc60.idb
....................\......\.....\vc60.pdb
....................\......\.....\vc90.idb
....................\......\.....\vc90.pdb
....................\......\reverse.txt
....................\......\stacks.cpp
....................\......\stacks.dsp
....................\......\stacks.dsw
....................\......\stacks.ncb
....................\......\stacks.opt
....................\......\stacks.plg
....................\......\stacks.vcproj
....................\......\stacks.vcproj.takato-PC.takato.user
....................\stacks.ncb
....................\stacks.sln
....................\stacks.suo
....................\......\Debug
....................\Debug
....................\stacks
堆栈、队列的链式实现
....................\.....\stacks.ilk
....................\.....\stacks.pdb
....................\stacks\data.dat
....................\......\Debug\BuildLog.htm
....................\......\.....\data.dat
....................\......\.....\mt.dep
....................\......\.....\stacks.exe
....................\......\.....\stacks.exe.intermediate.manifest
....................\......\.....\stacks.ilk
....................\......\.....\stacks.obj
....................\......\.....\stacks.pch
....................\......\.....\stacks.pdb
....................\......\.....\vc60.idb
....................\......\.....\vc60.pdb
....................\......\.....\vc90.idb
....................\......\.....\vc90.pdb
....................\......\reverse.txt
....................\......\stacks.cpp
....................\......\stacks.dsp
....................\......\stacks.dsw
....................\......\stacks.ncb
....................\......\stacks.opt
....................\......\stacks.plg
....................\......\stacks.vcproj
....................\......\stacks.vcproj.takato-PC.takato.user
....................\stacks.ncb
....................\stacks.sln
....................\stacks.suo
....................\......\Debug
....................\Debug
....................\stacks
堆栈、队列的链式实现