school/cs235/lab09/bst.h

21 lines
330 B
C
Raw Normal View History

2016-04-06 20:46:10 -07:00
#ifndef __BST_H__
#define __BST_H__
#include "BSTInterface.h"
#include "node.h"
#include <iostream>
using namespace std;
class bst : public BSTInterface {
public:
bst();
~bst();
node* root;
NodeInterface * getRootNode();
bool add(int data);
bool remove(int data);
};
#endif