⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c07p357a.txt

📁 Data Abstraction & Problem Solving with C++源码
💻 TXT
字号:
// ********************************************************// Header file QueueL.h for the ADT queue.// ADT list implementation.// ********************************************************#include "ListP.h"  //  ADT list operations#include "QueueException.h"typedef ListItemType QueueItemType;class Queue{public:// constructors and destructor:   Queue();                     // default constructor   Queue(const Queue& Q);       // copy constructor   ~Queue();                    // destructor// Queue operations:   bool isEmpty() const;   void enqueue(QueueItemType newItem)          throw(QueueException);   void dequeue() throw(QueueException);   void dequeue(QueueItemType& queueFront)          throw(QueueException);   void getFront(QueueItemType& queueFront) const          throw(QueueException);private:   List aList;  // list of queue items};  // end queue class// End of header file.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -