Lecture 26 Outline (November 25, 2015)

Reading: text, §11


  1. Greetings and felicitations!
    1. Midterms are in my office; you can come get them there.
    2. Homework 5 is last homework
    3. I will schedule a review session on December 7 or 8, depending on when I can get a room

  2. Prof. Chen’s postfix program
    1. Enable it to read numbers of multiple digits
    2. Add save, load stack

  3. Files
    1. Review files and file pointers — mention file descriptors as underlying mechanism
    2. Standard I/O library (stdio.h)
    3. Standard input, output, error (stdin, stdout, stderr)
    4. Opening, closing files (fopen, fclose)

  4. Binary file I/O
    1. Reading with fread
    2. Writing with fwrite


You can also obtain a PDF version of this. Version of November 30, 2015 at 6:42AM