#include #include "account-new.h" #include "AcctListNodeinclass.h" AcctNode::AcctNode () { Account dummy; value = dummy; nextLink = 0; prevLink = 0; } AcctNode::AcctNode (Account & val) { value = val; nextLink = 0; prevLink = 0; } Account AcctNode::GetValue() const { return value; } Account & AcctNode::GetValue() { return value; } //bool Delete(); AcctNode * AcctNode::NextNode() { return nextLink; } AcctNode * AcctNode::PrevNode() { return prevLink; } ostream & operator << (ostream & strOut, const AcctNode & toShow) { strOut << toShow.GetValue(); return strOut; // added since class }