school/cs235/lab10/node.h
2016-04-06 20:46:10 -07:00

19 lines
357 B
C++

#ifndef __NODE_H__
#define __NODE_H__
#include "NodeInterface.h"
class node : public NodeInterface {
public:
int data;
int height;
node* right;
node* left;
node(int data);
int getData();
NodeInterface * getLeftChild();
NodeInterface * getRightChild();
int getHeight();
};
#endif