Lecture 3 Outline (September 30, 2015)

Reading: text §2


  1. Greetings and felicitations!
    1. I posted:
      1. Handout about how to connect to the CSIF
      2. Handout showing how to compile and execute a program there
      3. Handout about make, a program to organize programs
      4. Handout on precedence and associativity of operators
    2. There is an issue with TA office hours that we’re trying to resolve (it involves department policies). Stay tuned for changes to TA office hours …
    3. The list of CSIF systems, and their statuses, is available at http://angel.cs.ucdavis.edu/cgi-bin/status.cgi?hostgroup=all&style=hostdetail
  2. fahr2.c
    1. #include <stdio.h>
    2. Macros
    3. float
    4. for loop
  3. cat1.c
    1. Assignment as an expression
    2. EOF
    3. getchar; show why c must be int, not char
    4. do … while
  4. Character input/output: getchar, putchar
  5. Formatted input/output: scanf, printf


You can also obtain a PDF version of this. Version of September 30, 2015 at 7:48AM