循环队列
摘要:实现基础:静态数组初始化rear,front均为-1,头文件如下 1 template 2 class queue{ 3 private: 4 int rear; 5 int front; 6 enum{MAXN = 200}; 7 T s[MAXN]; 8 publ...
阅读全文
posted @ 2015-10-30 11:34
posted @ 2015-10-30 11:34