CSE 222 Closed Lab #6


Please follow these steps in closed lab:

  1. Select a partner to work with on the closed lab exercise and decide whose account to use for it.  After you have completed the closed lab exercise, the person whose account has been used may e-mail to his/her partner the file(s) containing the solution that was devised by the partnership.
  2. Copy the initial closed lab #6 files to your own working directory and get into that directory:
    cp -R /class/sce/now/222/closed-labs/closed-lab06/Closed_Lab06/ .
    cd Closed_Lab06
  3. Look through the file Tree_Test.cpp, which is a test driver for the Put_Tree and Get_Tree operations from the homework assignment, just to get an idea of the overall structure and to see what main does.
  4. Fill in the body of the Put_Tree operation, which you should have done as the homework. Then execute the "Build Project" command to compile the file.
  5. Fill in the body of the Get_Tree operation, which you should have done as the homework. Then execute the "Build Project" command to compile the file.
  6. Run the test driver using (at least) the following test cases:
  7. Let your instructor know when you are satisfied all operations work satisfactorily, in order to get credit for this closed lab.