Extracting tokens from a string expression.

Hello,

I want to evaluate a fraction expression, but before I need to extract each operator and operand and pop it on queue.

Say, I have Fraction f("1-(-5) * 16+10/ 7");
so I need to extract 1 - -5 ( ) * 16 + 10 / 7

How can I do it, Please help me.
Topic archived. No new replies allowed.