Changed from stacks to lists.
commit56724103997190a39cdba1e5d7092ae86cbae347
authorSam Fredrickson <kinghajj@gmail.com>
Fri, 28 Nov 2008 00:29:14 +0000 (27 16:29 -0800)
committerSam Fredrickson <kinghajj@gmail.com>
Fri, 28 Nov 2008 00:29:14 +0000 (27 16:29 -0800)
tree9fec209fb65d19661b5bf2f3315956411271c565
parentadd5807b682f7e107daa81833a600ef90a54b9bc
Changed from stacks to lists.

Stacks don't have an iterator, which made printing take longer by
forcing a copy. So, I'm now using lists as a stack, which works because
of the push_front and pop_front methods.

I've also implemented the ph command, which prints the history "stack."
src/Calculator.cpp
src/Commands.cpp
src/History.cpp
src/rpn.h