parsing file problem

hello every one, i have a problem in parsing a text file this is a sample text file:
6
1 1 +
3 4 5 + *
3 4 5 * +
1 +
1 1 1 +
2 3 8 2 / - 1 + *
the first line contain number of expressions to parse and the following lines contain the expression that i would take it character by character . how can i do this ??? thanks in advance.
Not being harsh but you must try to implement what you think is a plausible solution and then we can help you pinpoint the flaws in your logic, syntax and as well as debug it. The first step is crucial: coming up with a solution-whether right or wrong.
Last edited on
Topic archived. No new replies allowed.