Announcements
January 26th, 2012
- YEAH Hours: We’re holding our first Your Early Assignment Help session for Assignment 2 today at 2:15pm in room 200-034.
January 25th, 2012
- Assignment 2 Mac Demo: There was an error with the Assignment 2 Mac Demo when we first distributed the assignment. The console version of the demo did not run at all. We've fixed the error and re-uploaded the project. If you've already downloaded the project, but would like a working demo to cross reference your solution with, please redownload the starter files.
January 19th, 2012
- Compilation Issues: If you are running XCode and are receiving compilation issues along the lines of "iostream not found", try and find your project settings and check if the OS is set to the correct version. The exact location of the project settings varies with different versions of XCode, so if you are having trouble finding it, email mgummelt@stanford.edu. You can email me other undiagnosed compilation issues as well.
January 18th, 2012
- Informal dinner for women interested in studying CS. The Women in Computer Science (WICS) group invites you to an informal dinner this evening in Gates 219 starting at 6:15 with free food and dessert! Whether you’re in 106A or just about to graduate, we hope to see you there. Over forty undergrads came to dinner last quarter, and we had a lot of fun talking and meeting each other. This time, we’re also inviting coterms, phds, and Stanford grads in industry to come join us. Nobody likes forced bonding, and it can be difficult to really get to know people at CS events and classes—this dinner is to bring together a bunch of female students considering CS, declared CS, or otherwise involved in CS at Stanford without any pressure to do much of anything other than eat good food and hang out. You should come!
January 16th, 2012
- “I Have a Dream”: To honor the holiday, I have scheduled an optional showing of the “I Have a Dream” speech that Martin Luther King, Jr. gave at the 1963 March on Washington. The half-hour video will be shown at 3:15P.M. in 200-030.
January 13th, 2012
- There is a significant error in the Assignment #1 handout distributed in
class today. The sample run for the Obenglobish problem incorrectly lists
the translation for amaze, which should be obamobaze given
the rule about a final e. The handout has been updated to show
the correct sample run, which looks like this:
January 6th, 2012
- Room change:
CS 106B will now meet in Hewlett 200.
- Tresidder LaIR Office Hours
- C and C++ Standard Library Docs
- Good Programming Style 1
- Good Programming Style 2
- Course Reader PDF
- Course Reader Errata
- Stanford C++ Libraries
- Submitter
Assignments
- Assignment 1: Simple C++ (pc)
- Assignment 1: Simple C++ (mac)
- Assignment 2: Using ADTs (pc)
- Assignment 2: Using ADTs (mac)
Handouts
- 01 Course Placement
- 02 General Information
- 03 Honor Code
- 04 Calendar
- 05 Introduction Slides
- 06 Functions in C++
- 07 Strings and Streams
- 08 Assignment #1 (Simple C++)
- 09M Downloading Xcode
- 09P Downloading Visual Studio
- 10 Debugging C++
- 10M Debugging with Xcode
- 10P Debugging with Visual Studio
- 11 Submitting Assignments
- 12 Collection Classes #1
- 13 Section #1
- 13A Section #1 Solutions
- 14 Collection Classes #2
- 15 Assignment #2 (ADTs)
- 16 RandomWriter Contest
- 17 Section #2
- 18 Designing Classes
- 19 Recursive Strategies
Lectures
- 01 Introduction [ppt] [code]
- 02 Simple C++ [ppt] [code]
- 03 Strings and Streams [ppt] [code]
- 04 Collection Classes #1 [ppt] [code]
Staff Information
- Professor: Eric Roberts
- Email: eroberts@cs.stanford.edu
- Office: Gates 202
- Phone: 650-723-3642
- Drop-in Hours: Tue 9:30-11:30am
- Head TA: Michael Gummelt
- Email: mgummelt@stanford.edu
- Office: Gates 160
- Drop-in Hours: Monday 10-11 AM, Thursday 2:30-3:30 PM
- LaIR Hours: Tuesday 10-12 PM