📄 treenode516.h
字号:
#include <string>using namespace std;const int MAX_NODES = 100; // maximum number of nodestypedef string TreeItemType;class TreeNode // node in the tree{private: TreeNode(); TreeNode(const TreeItemType& nodeItem, int left, int right); TreeItemType item; // data portion int leftChild; // index to left child int rightChild; // index to right child // friend class - can access private parts friend class BinaryTree;}; // end class TreeNode
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -