05 2016 档案
摘要:#include<iostream> using namespace std;template<class T>class SqQueue{ protected: int front,rear; int maxSize; T *elem; public: SqQueue(int size); ~Sq
阅读全文
摘要:#include<iostream> template<class T>struct Node{ T data; Node<T> *next;};template<class T>class Queue{private: Node<T> *front, *rear;public: Queue();
阅读全文
摘要:#include<iostream> template<class T>class SqStack{protected: int count; int maxSize; T *elem;public: SqStack(int size); ~SqStack(); int Length(){ retu
阅读全文
摘要:#include<iostream> using namespace std;template <class T>struct Node{ T data; Node<T> *next;};template <class T>class List{public: List(int len); ~Lis
阅读全文
摘要:#include<iostream>using namespace std;template<typename T>class SqList{private: int count;//实际元素个数 int Maxsize;//数组最大长度 T *elem;public: SqList(int siz
阅读全文

浙公网安备 33010602011771号