Lecture 29: December 4, 2019
Due
: Homework #5, due December 6, 2019
Greetings and felicitations!
My office hour on Friday has to be moved to 11am–11:50am
Go through writing a postfix calculator
Stack module [
stack.h
,
stack.c
]
First version: do arithmetic directly [
rpn.c
]
Function pointers and the arithmetic module [
funcs.h
,
funcs.c
]
Second version: use a table to find arithmetic functions [
rpn1.c
]
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
[email protected]
ECS 36A, Programming and Problem Solving
Version of December 8, 2019 at 12:01AM
You can also obtain a PDF version of this.