C++ 两个队列实现堆栈

摘要: //构建队列#includeusing namespace std;struct queuenode{int data;queuenode* next;};class queue{private:queuenode* head;public:queue(){head=new queuenode;he... 阅读全文
posted @ 2014-09-01 09:50 大地记得天 阅读(109) 评论(0) 推荐(0)