include "node.h" void Node::setvalue(int value) // lets us access the private value from node.h { this->value=value; } int Node::getvalue() { return(this->value);// this-> isnt required here but makes the program $ }