文件名称:queue
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 197kb
- 下载次数:
- 0次
- 提 供 者:
- w***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用双头栈模拟队列,要求实现一个队列,提供Enqueue(&q, e)和Dequeue(&q, &e)两个接口
保证先进先出,用双头栈DStack实现(分A、B两个头),DStack只提供pushA(), popA(), pushB(), popB()等几个接口,不能访问任何位置i的元素,不能进行任意位置的插入、删除操作-Queue with a double stack simulation, called for a queue to provide Enqueue (& q, e) and Dequeue (& q, & e) two interfaces
Ensure FIFO, with the double stack DStack implementation (points A, B two heads), DStack only pushA (), popA (), pushB (), popB (), and several other interfaces, you can not access any location of the element i , can not be inserted at any position, delete
保证先进先出,用双头栈DStack实现(分A、B两个头),DStack只提供pushA(), popA(), pushB(), popB()等几个接口,不能访问任何位置i的元素,不能进行任意位置的插入、删除操作-Queue with a double stack simulation, called for a queue to provide Enqueue (& q, e) and Dequeue (& q, & e) two interfaces
Ensure FIFO, with the double stack DStack implementation (points A, B two heads), DStack only pushA (), popA (), pushB (), popB (), and several other interfaces, you can not access any location of the element i , can not be inserted at any position, delete
(系统自动生成,下载前可以参看下载内容)
下载文件列表
双头栈队列实现方法1
...................\Debug
...................\.....\StdAfx.obj
...................\.....\vc60.idb
...................\.....\vc60.pdb
...................\.....\双头栈队列.exe
...................\.....\双头栈队列.ilk
...................\.....\双头栈队列.obj
...................\.....\双头栈队列.pch
...................\.....\双头栈队列.pdb
...................\ReadMe.txt
...................\SqStack.h
...................\StdAfx.cpp
...................\StdAfx.h
...................\双头栈队列.cpp
...................\双头栈队列.dsp
...................\双头栈队列.dsw
...................\双头栈队列.ncb
...................\双头栈队列.opt
...................\双头栈队列.plg
...................\Debug
...................\.....\StdAfx.obj
...................\.....\vc60.idb
...................\.....\vc60.pdb
...................\.....\双头栈队列.exe
...................\.....\双头栈队列.ilk
...................\.....\双头栈队列.obj
...................\.....\双头栈队列.pch
...................\.....\双头栈队列.pdb
...................\ReadMe.txt
...................\SqStack.h
...................\StdAfx.cpp
...................\StdAfx.h
...................\双头栈队列.cpp
...................\双头栈队列.dsp
...................\双头栈队列.dsw
...................\双头栈队列.ncb
...................\双头栈队列.opt
...................\双头栈队列.plg