#ifndef TREE_H #define TREE_H #include "TreeNode.h" class Tree { private: TreeNode* root; public: Tree() { root = NULL; } void insert(int data); void insert(TreeNode* newnode, TreeNode* curnode); void inOrderPrint(); void inOrderPrint(TreeNode* curnode); void removeLeaves(); void removeLeaves(TreeNode* curnode); }; #endif