21 lines
518 B
C++
21 lines
518 B
C++
#include "Factory.h"
|
|
#include "bst.h"
|
|
//You may add #include statements here
|
|
|
|
/*
|
|
You will MODIFY THIS DOCUMENT.
|
|
*/
|
|
//=======================================================================================
|
|
/*
|
|
getBST()
|
|
|
|
Creates and returns an object whose class extends BSTInterface.
|
|
This should be an object of a class you have created.
|
|
|
|
Example: If you made a class called "BST", you might say, "return new BST();".
|
|
*/
|
|
BSTInterface * Factory::getBST()
|
|
{
|
|
return new bst();//Modify this line
|
|
}
|