Answer the question
In order to leave comments, you need to log in
How to pass a mathematical function to c++ code?
The program at some point calculates a function, for example: 5*(x-6)^3-23. I hardcoded it, everything works. And if there are many such mathematical functions, and they can be different? How to give the user the opportunity to enter such a mathematical expression himself?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question