CS106L

Standard C++ Programming

Stanford University

Spring 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 7 very short weekly 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 the previous week. 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 (starting week 3). Thursdays, 4:30-5:20pm in Thornton 210

Course Info

Quick Links

Schedule

WeekTuesdayThursday

1

March 31

1. Welcome!

📖 Slides

📃 Policies

April 2

2. Types & Structs

📖 Slides

2

April 7

3. Initialization & References

📖 Slides

April 9

4. Streams

📖 Slides

A1: SimpleEnroll

3

April 14

5. Containers

April 16

6. Iterators & Pointers

4

April 21

7. Classes

April 23

8. Inheritance

5

April 28

9. Class Templates & Const Correctness

April 30

10. Function Templates

6

May 5

11. Functions & Lambdas

May 7

12. Operator Overloading

7

May 12

13. Special Member Functions

May 14

14. Move Semantics

8

May 19

15. std::optional & Type Safety

May 21

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

9

May 26

Optional Lecture

May 28

No Class

10

June 2

No Class