Make sure that you follow the EE 312 style
guide. You will lose points if you do not. You must include the
honor statement below in your .h file. You will lose points if
you do not.
Note: Because you are writing a
template class, your implementation code MUST go in the BST.h
file.
Include the following at the top of your
file:
// EE 312 Project 10 -- Binary Search Tree /* Student information for project: * * Replace <NAME> with your name. <--- REMOVE THIS LINE FROM YOUR HEADER * * On my honor, <NAME>, this programming project is my own work * and I have not provided this code to any other student. * * Name: * email address: * UTEID: * Section 5 digit ID: * No slip days allowed on Project 10 */
Provided files: BST.h, BSTMain.cpp and test.txt
You are provided with an incomplete header file for a templated BST class. You are also given a simple driver program and a text file. You will need to do additional testing beyond the provided driver.
Do not modify the BST.h file other than adding comments and your member function implementations as indicated.
We will grade this program with a script. Note that the return types for the traversals are vectors, and that the other functions return integer or boolean values. We will test your BST class using our own driver, comparing your returned vectors with the expected results.
Submit your BST.h file on Canvas. You must work alone on this project.
Sample Output: