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

The first programming assignment of the quarter, Assignment 1: Welcome to C++!, goes out today. It's due on Friday, January 17th 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 Sunday at 7PM. 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 6, 2020

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 htiek@cs.stanford.edu 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!

Handouts

07: Assignment Submission Checklist
06: Debugging Your Code
03: Honor Code
02: Course Placement
01: Course Calendar
00: Course Information

Section Handouts

Section Handout 1
  (solutions available Wednesday)

Assignments

Assignment 1: Welcome to C++!

Assignment 0: Welcome to CS106B!

Practice Exams

Coming soon!

Resources

Stanford C++ Library Documentation
C++ Standard Library Documentation
Setting Up Qt Creator
Blank Stanford C++ Project
Assignment Submitter
Working in Pairs
Style Guide
Python-to-C++ Guide

Lectures

04: Collections, Part II
  Slides | Code
03: Collections, Part I
  Slides | Code
02: Strings in C++
  Slides | Code
01: Functions in C++
  Slides | Code
00: Introduction
  Slides | Code