Lecture 28: December 2, 2019

Due: Homework #4, late date December 2, 2019; Homework #5, due December 6, 2019


  1. Greetings and felicitations!
  2. Multi-file programs
    1. Queue routines in [qlib.c]
    2. static functions, variables; extern
    3. Function prototypes
    4. Header files [qlib.h]
    5. Main routine [driver.c]
    6. Compiling and executing
  3. How the compiler works
    1. Preprocessor (cpp)
    2. Compiler proper
    3. Optimizer (optional)
    4. Assembler and object (“.o”) files
    5. Linking loader

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 7, 2019 at 11:57PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh