Hello, I am having a problem with the attached code.
The problem is with the main loop; the calculator works once for any expression, but when it is looped back, there is a segmentation fault.
I think it might have something do to with the input stream, but I am unable to fix it.
Any help would be greatly appreciated!!!!
-Thanks!
http://www.onedollaranissue.com/code/stackcalc.cxx