Start here
Welcome to C Programming
4 min read
Learn C properly from scratch: memory and pointers, data structures, processes, POSIX threads and network sockets, with the tools professionals use.
What you'll learn
- Getting Started & Tooling (week 1): Install a toolchain, see how source becomes a program, and set up Make, GDB and Git from day one.
- Core Language (weeks 2–3): Types, operators, control flow and functions, scope and storage duration, written the way professionals write them.
- Arrays & Strings (week 4): Arrays, C strings, command-line arguments and the classic string-handling pitfalls.
- Pointers & Memory (weeks 5–6): Pointers and pointer arithmetic, void and function pointers, the stack and the heap, and finding memory bugs.
- Structs & Data Structures (week 7): Structs, unions, enums and typedef; linked lists, dynamic arrays, hash maps and ring buffers; opaque types.
- Preprocessor, Linkage & Undefined Behavior (week 8): Header files, macros and conditional compilation, declaration vs definition, linkage, const, volatile and restrict, and undefined behavior.
- Files, Processes & Signals (week 9): File I/O, errno and exit codes, fork/exec/wait, pipes and signals, and the debugging toolkit: gdb, strace, ltrace, perf and Valgrind.
- Concurrency with POSIX Threads (weeks 10–11): Threads, mutexes and condition variables, race conditions and deadlocks, C11 atomics and the memory model, and thread pools.
- Network Programming with Sockets (week 12): The BSD sockets API, TCP and UDP clients and servers, byte order, getaddrinfo, and serving many clients with threads or poll().
- Capstone (weeks 13–14): Build a complete C application to a written brief, with code review.
How the course works
- It runs for 14 weeks, about 10 hours a week, across 54 modules.
- A live cohort of up to 10 students, with a mentor.
- At least half your time is hands-on: every module ends with a lab.
- Live sessions are recorded, so you can rewatch them or catch up.
- Questions between sessions are answered within 24 hours on weekdays.
- A mentor reviews every phase project, like a pull request at work.
- It finishes with a capstone: multi-threaded TCP key-value server.
Earning your certificate
- Attend every live session. If you miss one, make it up by watching the recording and submitting that week's lab within 7 days. You can do this up to 2 times per course.
- Score more than 50% on the final evaluation at the end of the course.
What you need
- A laptop running Linux, macOS, or Windows with WSL. Setting it up is the first thing you do, with help.
- Curiosity and the time each week. The readiness test tells you if you should start with a prerequisite course.
In this preview
All of Phase 0 is free, before you enroll. Use the outline to move through it. Later phases are locked until you enroll.