school/cs235/lab10/node.h

19 lines
357 B
C
Raw Normal View History

2016-04-06 20:46:10 -07:00
#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