摘要: //double_queue.htemplate <typename T>class DoubleQueue{public: DoubleQueue(int size=10); ~DoubleQueue(); void EnQueue(T item, int end); void DeQueue(int end); bool IsEmpty(); bool IsFull(); void List(int end);private: T* data_; int end1_; int end2_; int size_;};templ... 阅读全文
posted @ 2012-12-04 17:03 tszhao 阅读(156) 评论(0) 推荐(0) 编辑