Max wrote:
> How can I take input and run it.
> I should note that I want all of the
> math available in C++ to be available to the user (casting, shift,
> etc.). Can anyone help me.
You can't. C++ creates a binary. It doesn't create an interpreter.
There exist libraries which can do what you want, for example
this one:
http://iki.fi/warp/FunctionParser/
However, if your understanding of C++ is minimal, it may be quite
a task to write a program which uses a library like that, even though
using it is relatively simple.
There's a simple example program on how to use the library there:
http://iki.fi/warp/FunctionParser/example.cc