Hi Rob,Thanks for the note. Yes, I figured it out. On Thu, Sep 3, 2020 at 10:30 PM Rob Milliken robmilliken@users.sourceforge.net wrote: Hi TIm. I am wondering if you overthought this. Looking at the file it doesn't say that you can't include other include files such as <iostream> where you could easily output your list from your main.cpp file. See: ."...then add a reasonable set of unit tests, with output, to main.cpp." I would think with "add a reasonable..." output includes using output types...
I recently lost out on a great job because I couldn't pass the coding challenge. I was given a header file that I COULD NOT modify, and asked to fill it out with a stack with a linked list backbone. The problem was to reverse stack data (integers) such that nodes 1..4 contained 1, 2, 3, 4, and the output would be 4, 3, 2, 1. I easily wrote this, with one problem: none of the methods in the class signatures contained any output method other than top(), which returned the top node. Everything else...