随笔分类 -  数据结构

摘要:#include<iostream>//用栈实现(是否匹配 using namespace std; class SqStack { private: char* base; int stacksize; public: int top; SqStack(int m); void Push(char 阅读全文
posted @ 2022-06-18 14:12 Sheep灬 阅读(28) 评论(0) 推荐(0)
摘要:#include<iostream> #include<iomanip> using namespace std; class Queue { private: int rear; int queuesize; int front; int* base; public: Queue(int m); 阅读全文
posted @ 2022-06-18 14:04 Sheep灬 阅读(29) 评论(0) 推荐(0)