In-person lectures on Tue & Thu 4:10-5:25pm, 417 International Affairs Building
Three exams:
There are no make-up or alternate exams. If you cannot make any of those exams, please take the course next semester.
Instructor: Jae Woo Lee
Office hours:
| Lecture 1: T 9/2 |
| Lecture 2: R 9/4 |
| Recitation 1: pre-recorded |
hello.c
.vimrchello.c| Lecture 3: T 9/9 |
| Lecture 4: R 9/11 |
| Recitation 2: pre-recorded |
| Lecture 5: T 9/16 |
int f(int x) { return x & (1 << 5); }| Lecture 6: R 9/18 |
int g(int x) { return x | (1 << 5); }x++| Recitation 3: F 9/19 |
bitwise1 program demobitwise1
| Lecture 7: T 9/23 |
| Lecture 8: R 9/25 |
sizeof operatorp++malloc() and free()| Recitation 4: F 9/26 |
malloc() and free() (review)valgrindExercise on heap allocation and passing/returning pointers
| Lecture 9: T 9/30 |
argv array| Lecture 10: R 10/2 |
Review of argv array
Function pointers
const qualifierqsort() library function| Recitation 5: F 10/3 |
Review of complex declarations
Exercise on argv array and strcpy()
argcat program demoargcat| Lecture 11: T 10/7 |
struct
create2Nodes()free_all_nodes()| Lecture 12: R 10/9 |
free_all_nodes() (continued)struct Listvoid *dataMacros & include guards
stdin, stdout, stderr| Recitation 6: F 10/10 |
uecho program| Lecture 13: T 10/14 |
fopen() does| Exam 1: R 10/16 |
| Lecture 14: T 10/21 |
FILE* is an opaque handlestdin/stdout/stderr are FILE* variablesfgets()fflush()fopen()fseek()| Lecture 15: R 10/23 |
ncat program revisitedfread(), fwrite()sscanf() & sprintf()snprintf() vs. strncpy()Lab 4 demo
| Recitation 7: F 10/24 |
| Lecture 16: T 10/28 |
fork()| Lecture 17: R 10/30 |
fork() (continued)waitpid()exec()| Election Day (no class): T 11/4 |
Last updated: 2025-10-23