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
.vimrc
hello.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)valgrind
Exercise on heap allocation and passing/returning pointers
Lecture 9: T 9/30 |
argv
arrayLecture 10: R 10/2 |
Review of argv
array
Function pointers
const
qualifierqsort()
library functionRecitation 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 |
struct List
void *data
Macros & include guards
stdin
, stdout
, stderr
Last updated: 2025-10-06