How to interpret math operation in a string [Solved]
-
Hi all,
I have a QString with something like this:
@
( ;1; + ;2; + ;3; + ;4; + ;5; + ;6; + ;7; + ;8; ) / 8
@where the numbers between ';' character corresponds to some variables (in my c++ application) while the other numbers are simple arithmetical number.
What is the fastest way to get the result from the operation described in the string?