樹和二叉樹實驗1

確定一個二叉樹利用順序結構方法存儲。 源代碼: #include<iostream.h>const int MaxSize=100; class BinaryTree{ public: BinaryTree(char a[],int n); ~BinaryTree(){} void Leveroder();    //層序輸出 void Search(int i);  //查詢結點i的親/孩子 v
相關文章
相關標籤/搜索