You should already know what an EvalExpr is.
So implement a functional one, that is able to parse a string given as argument and display the resulting value, followed by a new line.
See the subject for further details !
========================
Grade : C | Mark : 16.5
Category | Percentage | Tests | Crash ? |
---|---|---|---|
error management | 90.9% | 10/11 | x |
one single unary operator | 100% | 16/16 | x |
one single binary operator | 87.5% | 14/16 | x |
parenthesis | 100% | 11/11 | x |
mixed binary operator | 70% | 7/10 | x |
all mixed | 57.1% | 8/14 | x |
Coding qtyle | 100% | 3/3 | x |
End score | 85.2% | 69/81 | NO |
Beware of -42 Epitech students !!!