ali j

ali j

  • NA
  • 1
  • 0

help me please, Calculation Code

Mar 30 2006 10:22 PM
hi
I'm trying to write a code in C++ which implement a class that performs simple
calculations. The class will expose a single public method which takes in a string and returns a
double value that is the result of evaluating the expression stored in the string. If the string does
not contain a valid expression, the method should throw a string exception.

any one knows how to do it? please

Answers (1)