Hi everyone ! I'm sorry if the topic already exist, i was looking but i don't find it. Also, i apologize for mi terrible english.
I'm looking for a book that contains theory (And if possible) examples for parsing a mathematical string in C++ and give the result like Matlab. I read about using stacks/syntax tree, Infix-postfix.
I have here Bjarne Stroustrup's book "Programming -- Principles and Practice Using C++", second edition.
There it is worked out over several chapters how to program a calculator by parsing mathematical input.
If you are at a beginner level, this book may be very helpful.