Hello, does anyone have information or a link to a place where I can learn how to take an entire formula written as a string, and convert it into an integer?

For example a function called Convert that takes works something like...

CString formula = "5 + 3*6 - (2+6)^5";
int x = Convert(formula);

And Convert() evaluates the entire string and returns a value.

Any help would be greatly appreciated, thanks.