You are on page 1of 2

ITP 365: Data structures in C++

Assignment 6: April 9th, 2014 Due: 11:59pm April 20st, 2014

Goal
Well implement a binary tree in the next week and a half. Attached is some starter code and a driver. Youll need to write the functions in bst.h such that the driver works with the input files correctly. Correct output generates a sorted list.

Requirements
Attached is a ZIP file containing 2 code files and some sample input files. You must write the functions as indicated in header file. The files will not compile and execute as given. You may add extra functions as needed. More details about the specific functions will be given in class.

Sample execution
A successful execution against one of the input files will resemble the following display:

Page 1 of 2

Deliverables
Please submit the all .CPP and .H code files for this project (even ones you did not modify) in a ZIP folder titled Hw6.

Grading
Item Points BST constructor function 3 BST destructor function 3 BST empty function 2 BST size function 2 BST insert function 20 BST printInOrderTraversal function 5 BST printPreOrderTraversal function 5 Total* 40 *Points will be deducted for poor style and not following lab guide directions

Page 2 of 2

You might also like