10 2015 档案
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 #define M 100 7 char *get_element(char *p)//输入结点序列函数 8 { 9 printf("输入集合的元素(不能有...
阅读全文
摘要:借鉴了书本和学长的代码 1 #include 2 using namespace std; 3 template 4 struct BTNode // 结点类 5 { 6 BTNode() 7 { 8 lchild=rch...
阅读全文
摘要:1 #include 2 template 3 class Matrix 4 { 5 public: 6 Matrix(int r=0,int c=0); 7 Matrix(Matrix &m); 8 ~Matrix() 9 {10 delete ...
阅读全文
摘要:1 #include 2 #include 3 using namespace std; 4 5 template 6 class LinkStack; 7 template 8 class StackNode 9 { 10 public: 11 friend cl...
阅读全文

浙公网安备 33010602011771号