Lecture 11 Outline (October 19, 2015)

Reading: text §7.1–7.5


  1. Greetings and felicitations!
    1. Typo in question 4 of homework 2; 7.5–7.5 should be 7.5–7.6
    2. Handout that might help you with Gradebot for this assignment
  2. One more item about scope
    1. static local variable declaration (charcount.c)
  3. C arrays and strings
    1. String representation: array of chars terminated by NUL (ASCII ‘\0’)
    2. Types of characters; include file ctype.h (wctype.c)
    3. Enumerated types (wctype2.c)
    4. Sequential access (wctype.c, wctype2.c)
    5. Arrays as parameters, arguments to functions
    6. Examples: printfile1.c, printfile2.c


You can also obtain a PDF version of this. Version of October 18, 2015 at 2:40PM