Hey guys,
I am seeking help/advice/pointers on this post-fix calculator I'm writing.
I'm writing it from scratch, so I cannot use any templates for stacks.
Below is my code, but before you look at it know that I'm trying to input doubles and chars. After my input I want it to recognize the doubles/operators and push/pop them off the stack. I am having a tough time with this. Thank you in advance!!
-Note my header wont be included with my posting, the stack is a stack of arrays.
In main.cpp
#14 used un-initialized "value" which I guess it supposed to be the first input number in "cin". Anyway, the value shouldn't be used to init object before it has some value.
#29 may be changed to "cin >> value" simply since you just need to put the input one by one. Same with #37.