Lecture 3 Outline (September 30, 2015)
Reading
:
text
§2
Greetings and felicitations!
I posted:
Handout about how to connect to the CSIF
Handout showing how to compile and execute a program there
Handout about
make
, a program to organize programs
Handout on precedence and associativity of operators
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 …
The list of CSIF systems, and their statuses, is available at
http://angel.cs.ucdavis.edu/cgi-bin/status.cgi?hostgroup=all&style=hostdetail
fahr2.c
#include <stdio.h>
Macros
float
for
loop
cat1.c
Assignment as an expression
EOF
getchar
; show why
c
must be
int
, not
char
do … while
Character input/output:
getchar
,
putchar
Formatted input/output:
scanf
,
printf
You can also obtain a PDF version of this.
Version of September 30, 2015 at 7:48AM