I created a stack like this,
stack I pushed a couple of elements on to it and now I want to print out all the elements of the stack, not just the top one. How do I do that?? Thanks
Mike
I created a stack like this,
stack I pushed a couple of elements on to it and now I want to print out all the elements of the stack, not just the top one. How do I do that?? Thanks
Mike
You might want to take a look at some STL (Standard Template Library) sites to see a variety of options depending on your particular needs