![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
封装库
文章平均质量分 65
焰火灿烂时
这个作者很懒,什么都没留下…
展开
-
[封装]栈
头文件 #include "Stack.h"#ifndef STACK_H_#define STACK_H_const int Max = 100;template class Stack {public: Stack(); void Push (const T &item); T Pop(); bool Stackempty() const原创 2013-07-10 00:01:08 · 481 阅读 · 0 评论 -
[封装]循环队列
头文件 #include "queue.h"#ifndef _CCIRQUEUE_H#define _CCIRQUEUE_Hconst int SIZE = 100;template class CCirqueue {public: CCirqueue(); int size(); void pushqueue(const T &val); T po原创 2013-07-12 23:04:00 · 920 阅读 · 1 评论