Help Please! How do i Convert a string to math operator?
807605Jun 24 2007 — edited Jun 26 2007Hi. I am trying to write a calculator that takes a string from the user and calculates the expression. For example,
55 * 4 + ( 55 - 30 ) + 7
I can use the string tokenizer and seperate the string into individual parts, then use parsedouble for the numbers, but is there a way to parse the operators? i cant figure this out.