Then I put the sample expression you provided "(a+b)(c+d.)" in a file named postfix.txt as follows: ... This isn't surprising as there is nothing in your code to handle the parentheses.
It is a postfix expression evaluator. That example would have to be entered as a,b,+,c,d,+,x
In reply to Re^2: Out of Memory 2.
by BrowserUk
in thread Out of Memory 2.
by dneedles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |