Session Details
Week 8,
Session 22 — Mon Oct 22
Prep
-
Take-home Quiz
-
(3:40) Why C? [local] [slides]
-
(3:56) Strings and Printf [local] [slides]
-
(7:11) If and While [local] [slides]
-
(2:49) Scanf [local] [slides]
-
(9:54) Worked example: Menu [local] [slides]
HW Due
-
HW 21
Topics
-
Formal intro. to the C Programming Language
-
Some Python-esque features of C
-
Using the stdio printf library function to print formated output
-
Strings vs character literals
-
More on function definitions including parameters and return types
-
Recap: example programs illustrating these C topics
-
Using a function's return value
-
if, if-else, else statements
-
Single statements vs. compound statements with { } as parts of loops, if statements
-
while loops
-
break statements
-
C's "true" and "false" values
-
Input of ints with scanf
Outline
-
[5 min] Questions
-
[100 min] Work time
Resources
-
Your First C session in Eclipse
-
Essential C
-
Python vs. C comparison document
HW Assigned
-
HW 22