0

I' am trying to do

Evaluator.eval("2**10/2-**-2")

like expression in My UWP app. i tried exprtk in UWP but it shows syntax many syntax error (Not In Simple Console App).

How can i Evaluate a expression

jalok2008
  • 15
  • 4
  • This is done the same way as anything else gets done in C++: write the code and implement the appropriate logic. There's very little that C++ does by itself, and everything else must be implemented from scratch. You'll have to write a relatively sophisticated parser that takes an arithmetic expression as a string, parses it, and evaluates it. – Sam Varshavchik Jun 09 '21 at 10:49

0 Answers0