Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "tree.h"
- using namespace std;
- int main()
- {
- Tree<int> t;
- t.insert(8);
- t.insert(7);
- t.insert(10);
- t.insert(15);
- t.insert(9);
- t.insert(4);
- t.insert(6);
- t.insert(3);
- t.insert(5);
- t.print();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement