Outline for April 5, 2002

Handouts: none
Reading: Johnsonbaugh & Kalin pp. 69-110; Grass pp. 99


  1. Greetings and felicitations!
  2. cat1.c
    1. EOF
    2. getchar; show why c must be int, not char
  3. cat2.c
    1. do ... while loop
  4. wc1.c
    1. macros
    2. state diagram (go through words)
    3. ++; do it on both sides
    4. printf; explain tabs newlines


ECS 30-A, Introduction to Programming
Winter Quarter 2002
Email: cs30a@cs.ucdavis.edu