tar.gz
archive of your asg3/ directory, including:
README
file containing
Makefile
.h
headers and .cpp
source)
make clean
before tar
)
handin
notes
List
class (acting as a stack;
you cannot use the STL's list
class),
provide the implementation of the infix expression
evaluator described in the text (pp. 97–102).
1 + 2 * 3 + ( 4 * 5 + 6 ) * 7
*, /, +, -
as well as (one level) of ()
nesting
q
or ctrl-d
to quit
(either should work)
1 + 2 * 3 + ( 4 * 5 + 6 ) * 7 1 2 3 * + 4 5 * 6 + 7 * + 189 8 + (2 * 6) 8 2 6 * + 20 20 / 10 + 2 20 10 / 2 + 4 q