Good algorithm for order of calculation?

So I'm making a calculator, but one that reads from string. So I have a string:
string calculation = "3,44*2,2-4+4,4^2/2,0^3"
I can easily handle the floats and turning the string to float, but how should I deal with the calculation order? I have thought about some options of storing the operations in a vector and checking the order there, but it's not really effective as a lot of exceptions occur.
You could simplify the problem by using Reverse Polish Notation.
http://en.wikipedia.org/wiki/Reverse_polish_notation
Topic archived. No new replies allowed.