I would like read mathematical functions in .txt file.
Example :
on the first line, there is the expression "sin(5)"
on the second line, there is the expression 'exp(26)"
etc...
I would like read these expressions and store them in different variables in my main C++ code in order to use them later.
1 Read the function into a string.
2 Split the string into text and number:
2.1 find the ( and ) with function string::find.
2.2 create two strings: one from begining to ( and another from (+1 to )
3 ...profit!