Session Details
Week 8,
Session 23 — Sec. 1: Wed Oct 24
Sec. 2: Wed Oct 24
Sec. 3: Tue Oct 23
Reading
-
Essential C (for reference)
HW Due
-
TBD
Topics
-
Intro. to the C Programming Language
-
Some Python-esque features of C
-
#include
-
main()
-
Statements (and semicolons)
-
Using the stdio printf library function to print formated output
-
Strings vs character literals
-
Function declarations (and braces)
-
Declaring types
-
Declaring variables
-
Function definitions including parameters and return types
-
Example programs illustrating these C topics
Outline
-
[5 min] Getting started
-
[15 min] Intro to C
-
[35 min] A sample C program--getting started with C in Eclipse
-
[5 min] Break
-
[25 min] Continuing with the sample program
-
[20 min] Nested loops in C
C Language Intro
HW Assigned
-
HW 23
-
Exam 2, Problem P7a make-up