This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce420pine64backup/hw2/hw2pr1/node.cpp
2017-10-27 11:42:51 -05:00

19 lines
253 B
C++

#include "node.h"
using namespace std;
node::node()
{
parent = NULL;
level = 0;
value = 0;
}
node::node(node* n)
{
parent = n->getParent();
level = n->getLevel();
value = n->getValue();
children = n->getChildren();
}