Hi! =] I'm trying to create very easy application. Main goal is that user input two numbers (actually they may be expressions) and application outputs the highest value after expression is ran. Problem starts when I get to expressions. I save inputed values as strings and then I want to somehow force them to ran as expressions.
You need to parse the expressions and evaluate the result. It's not “very easy” but not even much difficult.
The easiest way to do so is with a recursive descent parser.
If you don't know what a “recursive descent parser” is you should just stick to numbers