Hi.
Im trying to write a program that can read Strings such as:
1+2*3+4
36-89*3
And return the answer using the correct orders of operation.
Im pretty sure I need to implement some sort of parse tree, but I cant remember how to do that.
Is there a function in the standard library that can do this for me? Or any example source code for one?
thanks!