school/cs235/lab09/node.h

18 lines
330 B
C
Raw Normal View History

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