To visit the website for fall quarter's CS106B offering, click here.
Assignment 1 Released
January 13, 2017

The first programming assignment of the quarter, Assignment 1: Welcome to C++!, goes out today. It's due on Monday, January 23rd at the start of class (11:30AM). This assignment explores general C++ coding, strings, recursion, debugging, and the Stanford libraries. We hope you have fun with this one!

LaIR shifts will begin this Monday at 6PM (the LaIR will be closed on Sunday for the national holiday). Feel free to stop by for help! We highly recommend reading our handout about debugging strategies for advice about how to debug your programs and how to ask good questions in the LaIR.

Good luck!

Welcome to CS106B!
January 3, 2017

Welcome to CS106B! We've got an exciting quarter ahead of us and you're in for a real programming treat. Over the next ten weeks, we'll explore fundamental techniques in modeling and solving problems using a variety of programming techniques and evaluating their tradeoffs. By the time you're done with this class, you'll have a firm grasp of problem-solving techniques and will ready to start applying your skills in areas that you genuinely care about.

In the meantime, feel free to check out the course information handout and syllabus to learn more about what this class is all about, the prerequisites, and the course policies. If you have any questions in the meantime, feel free to email me at with questions. If you're wondering whether this is the right class for you, check out our handout with course placement information.

See you soon!


06: Debugging Advice
03: Honor Code
02: Course Placement
01: Syllabus
00: Course Information

Section Handouts

Section Handout 1


Assignment 1: Welcome to C++!

Assignment 0: Welcome to CS106B!


Stanford C++ Library Documentation
C++ Standard Library Documentation
Setting Up Qt Creator
Blank Stanford C++ Project
Assignment Submitter
LaIR Helper Schedule
Working in Pairs
Style Guide


02: Strings and Streams
  Slides | Code
01: Functions in C++
  Slides | Code
00: Introduction
  Slides | Code