摘要: #ifndef QUEUETP_H_#define QUEUETP_H_template<class Item>class QueueTP{private: enum{Q_SIZE = 10}; class Node { public: Item item; Node * next; Node(const Item & i):item(i),next(0){} }; Node * front; Node * rear; int items; const int qsize; QueueTP(c... 阅读全文
posted @ 2012-07-26 18:32 Kingdom_0 阅读(365) 评论(0) 推荐(0) 编辑