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 1/16 |
Lecture 2: R 1/18 |
Recitation 1: Sa 1/20 |
hello.c
.vimrc
hello.c
Lecture 3: T 1/23 |
Lecture 4: R 1/25 |
Recitation 2: pre-recorded |
Lecture 5: T 1/30 |
int f(int x) { return x & (1 << 5); }
Lecture 6: R 2/1 |
int g(int x) { return x | (1 << 5); }
x++
Lecture 7: T 2/6 |
Lecture 8: R 2/8 |
sizeof
operatorRecitation 3: Sa 2/10 |
Lecture 9: T 2/13 |
argv
arrayLecture 10: R 2/15 |
Review of argv
array
Function pointers
const
qualifierqsort()
library functionLecture 11: T 2/20 |
struct
create2Nodes()
Lecture 12: R 2/22 |
free_all_nodes()
struct List
void *data
Macros & include guards
stdin
, stdout
, stderr
Exam 1: T, 2/27 |
Lecture 13: R 2/29 |
fopen()
, fclose()
, fprintf()
, fgets()
, fputs()
Lecture 14: T 3/5 |
fflush()
fopen()
fread()
, fwrite()
, fseek()
sscanf()
& sprintf()
snprintf()
vs. strncpy()
Lecture 15: R 3/7 |
snprintf()
vs. strncpy()
Spring Break (no lectures): T 3/12, R 3/14 |
Lecture 16: T 3/19 |
fork()
Lecture 17: R 3/21 |
Review
Spawning processes with fork()
waitpid()
exec()
Lecture 18: T 3/26 |
netcat
: TCP/IP swiss army knife
mdb-lookup
using netcat
./mdb-lookup-cs3157 < mypipe | nc -l 10000 > mypipe
Exam 2: R 3/28 |
Recitation 4: pre-recorded |
Lecture 19: T 4/2 |
Lecture 20: R 4/4 |
Lecture 21: T 4/9 |
GET
request & responseRecitation 5: pre-recorded |
Lecture 22: R 4/11 |
No class on T 4/16 |
Lecture 23: R 4/18 |
Guest Lecture on Tue 4/23 |
How Python Actually Works
Guest lecture by Jake Torres, Carl von Bonin, Yara Saabneh
Why do we learn C when Python is so simple and has so much industry application? Follow us as we embark on a journey through Python’s source code to reveal it is more closely related to Advanced Programming than you would have thought!
Lecture 24: R 4/25 |
From C to C++: Object-Oriented Programming Exposed
Last updated: 2024-05-01