CS106L

Standard C++ Programming

Stanford University

Fall 2026

About CS106L

đŸŒŊ CS106L is a 1-unit class that explores the modern C++ language in depth. We'll cover some of the most exciting features of C++, including modern patterns (up through C++26) that give it beauty and power.

đŸĨĻ Anyone who is taking or has taken CS106B/X (or equivalent) is welcome to enroll. In other words, we welcome anyone that has learned or is learning programming fundamentals like functions and objects/classes.

đŸĨ• CS106L is a class for 1 unit. Students will complete 14 very short in-class activities along with 2 longer assignments. These are not meant to be too challenging but instead function as some hands-on practice with a few of the concepts we discuss in class. There are no exams or papers. All grades are S/NC. Class will finish in week 8 to give you time for finals.

đŸĸ CS106L is built for you! Even if you're not taking the class, you're welcome to come to our in-person office hours Tuesday's from 10am - 11am in 320-220.

Course Info

Quick Links

Schedule

WeekTuesdayThursday

1

September 22

1. Welcome!

📖 Slides

📃 Policies

September 24

2. Types & Structs

📖 Slides

🎓 In-Class Activity

2

September 29

3. Initialization & References

📖 Slides

🎓 In-Class Activity

October 1

4. Streams

📖 Slides

🎓 In-Class Activity

3

October 6

5. Containers

October 8

6. Iterators & Pointers

4

October 13

7. Classes

October 15

8. Class Templates & Const Correctness

5

October 20

9. Function Templates

October 22

10. Functions & Lambdas

6

October 27

11. Operator Overloading

October 29

12. Special Member Functions

7

November 3

13. Move Semantics

November 5

14. std::optional & Type Safety

8

November 10

15. RAII, Smart Pointers, & Building C++ Projects

November 12

16. Optional Lecture

9

November 17

No Class

November 19

No Class

10

December 1

No Class

December 3

No Class