Due: 3/8/01
Purposes:
The algorithms for performing #2 and #3 are in your text on pages 367 and 370.
The user interface (GUI)
Sample:
Infix = 3 + 4 * 5
Postfix = 3 4 5 * +
Answer = 23
Hints:
You may enter your expression with blanks surrounding each token.
Using the function strtok() will be of great assistance.
Don't convert ASCII numbers to ints until actually doing arithmetic
You may use 2 CStacks (1 of type CString and 1 of type int)