Does anyone know of any C++ code written to read a CString or character array ( ie "2*sin(x)^3" ) and make mathematical calculations given the string and a value for x? (Code that I can freely use in my program) Reason being that I have a project due next Thursday in which this is a small part, and I don't want to waste time inventing the wheel if someone else has already done it.
Question
Qwakui
Does anyone know of any C++ code written to read a CString or character array ( ie "2*sin(x)^3" ) and make mathematical calculations given the string and a value for x? (Code that I can freely use in my program) Reason being that I have a project due next Thursday in which this is a small part, and I don't want to waste time inventing the wheel if someone else has already done it.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts