Lecture 29: December 4, 2019

Due: Homework #5, due December 6, 2019

  1. Greetings and felicitations!
    1. My office hour on Friday has to be moved to 11am–11:50am
  2. Go through writing a postfix calculator
    1. Stack module [stack.h, stack.c]
    2. First version: do arithmetic directly [rpn.c]
    3. Function pointers and the arithmetic module [funcs.h, funcs.c]
    4. Second version: use a table to find arithmetic functions [rpn1.c]

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming and Problem Solving
Version of December 8, 2019 at 12:01AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh