/* main.cc */ #include // for cout, cin, endl, etc. #include "treenode.h" void part1(); // warns compiler of future function definitions void part2(); // This is a main procedure to test the TreeNode class main() { part1(); part2(); } void part1() { /* Insert your code for Part 1 here */ } void part2() { TreeNode *tn1 = new TreeNode(1); TreeNode *tn2 = new TreeNode(2); tn1->left = tn2; tn1->right = new TreeNode(3); TreeNode tn4(4); tn4.left = tn1; /* Draw memory at this point in the program for Part 2 */ }