diff --git a/bst.cpp b/bst.cpp index f7d483f..855d630 100644 --- a/bst.cpp +++ b/bst.cpp @@ -1,11 +1,13 @@ #include #include using namespace std; + class node { - int info; - node *left; - node *right; + private: + int info; + node *left; + node *right; public: friend class bst; node()