Quote Originally Posted by laserlight View Post
Okay. Notice that you did not talk about an array. You need to be clear on what you are trying to do. Why reach for an array before you are sure you need one?


I have never heard of "character RPN". Your example is unclear since I have no clue what is "XYZ XY-" and I don't see why it would give Z as the solution.


After having read your thread on mastering C++, and now hearing your repeated talk of operator overloading, I am starting to suspect that you are infected with C++ featuritis. The symptom is a compulsion to use every feature of C++ that the sufferer knows, just because the sufferer can
This is from my school question. Other than doing numbers, i also need to do the character. They specify to use operator overloading for the charcter RPN. Only need + and - for operator in character example:
Normal
XYZ+ A = XYZA
XYZ - X =YZ
RPN mode
XYZ A = XYZA
XYZ X - = YZ