i have one text file that contains only one line the line only contains one math expression for example 12+(3.0*(4)-1)/sqrt(121)
my program needs to read this express as string and then give the result
13
is there any simple way or 3rd party dll/lib to make this out?
COMMENT ADDED:
here is the solution but many of the solutions only contain +-/* acturally ,i need the operators as many as possible such as ceiling square square root and power()
so this link maybe is the best solution
http://www.codeproject.com/KB/recipes/sota_expression_evaluator.aspx