Here is the copy constructor.



Stack::Stack(const Stack& a_stack)
{
if (a_stack.top != NULL)
{
StackFramePtr temp = a_stack.top;
...