Session Details

Week 8, Session 23 — Sec. 1: Wed Oct 24
Sec. 2: Wed Oct 24
Sec. 3: Tue Oct 23

Reading

  1. Essential C (for reference)

HW Due

  1. TBD

Topics

  1. Intro. to the C Programming Language
  2. Some Python-esque features of C
  3. #include
  4. main()
  5. Statements (and semicolons)
  6. Using the stdio printf library function to print formated output
  7. Strings vs character literals
  8. Function declarations (and braces)
  9. Declaring types
  10. Declaring variables
  11. Function definitions including parameters and return types
  12. Example programs illustrating these C topics

Outline

  1. [5 min] Getting started
  2. [15 min] Intro to C
  3. [35 min] A sample C program--getting started with C in Eclipse
  4. [5 min] Break
  5. [25 min] Continuing with the sample program
  6. [20 min] Nested loops in C

C Language Intro

HW Assigned

  1. HW 23
  2. Exam 2, Problem P7a make-up