1
Reply

help me please, Calculation Code

ali j

ali j

Mar 30 2006 10:22 PM
2.2k
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)