Topic 1. Getting Started¶
Lectures¶
Lecture 1. Getting Started in Cpp
Learn how to express ourselves in the C++ programming language by covering the basics: functions, types, and strings.
Readings: Chapter 2, Chapter 3, Chapter 4.1 - 4.3
Lecture 2. Getting Started with Recursion
Recursion is a technique that lets us solve complex problems by solving smaller versions of those problems. It’s a beautiful and powerful technique with applications throughout computer science, and today we’ll get our first taste of what it looks like.
Readings: Chapter 7, Style Guide
Sections¶
Section 1.1 Cpp, Recursion, and Containers
It is unlikely that you will get through all section problems in one week – don’t worry! This is expected; we provide more problems that can be used as general practice later in the quarter!
Assignments¶
-
Look at the Stanford Library Documentation! In particular, recommend reviewing
random.h,string.h, andgrid.h.Read through our Style Guide! In CS101B, style is very important and it can be quite the transition from 101A. We highly recommend reviewing this guide and following our guidelines to avoid getting docked for style!
Take a look through our Testing Guide for tips and instructions for writing a test for Only Connect!