摘要:
1 #include 2 #include 3 4 using namespace std; 5 6 typedef struct treenode 7 { 8 treenode* leftchild; 9 treenode* rightchild; 10 int data; 11 }Treenode,*pTreenode; 12 13 //遍历l... 阅读全文
摘要:
1 #include 2 #include 3 4 using namespace std; 5 6 //双孩子表示法 7 typedef struct treenode 8 { 9 treenode* leftchild; 10 treenode* rightchild; 11 int data; 12 }Treenode,*pTreenode; ... 阅读全文