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

18 lines
330 B
C++

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