Lecture 1. Welcome!

Wednesday September 27



Contents

1. Annotated Syllabus Prezi

2. Task List

3. Supplementary Productivity Tip: Browser Shortcuts

4. Hello, world!

5. What's next?

Annotated Syllabus Prezi

We started with an annotated overview of the syllabus today, Prezi style: CS106B - Fall '23 Annotated Syllabus

Task List

You already have a number of tasks to work through and a few upcoming deadlines. Here's a quick summary:

  • Install Qt. Work through the Qt Creator Installation Guide to get the Qt Creator installed. This is the official IDE of CS106B, and you will need it this quarter in order to complete your assignments and capitalize on the all the awesome Stanford C++ Library goodies we'll be using. Getting this set up is also part of A0. (See below.)

  • Start A0. Assignment 0 is posted and is due on Monday at 5 PM (Pacific time). See the Assignments page.

  • Let us help you! If you hit a snag and need help installing the Qt Creator, visit office hours this week, attend the Qt Creator intall help session this Sunday, or get help in LaIR this Sunday. See the Living Omni-Grid for details. (Click the second tab in the bottom-left corner.)

  • Check your units. If you are an undergraduate, you must take this course for 5 units. If you registered for 3 or 4 units and are not a graduate student, please rectify this issue in Axess.

  • Sign up for section. Section sign-up will be available this Thursday through Sunday through Paperless.

Supplementary Productivity Tip: Browser Shortcuts

You can enhance your productivity by setting keyword shortcuts in your web browser that take you directly to various pages you visit frequently – such as the homepage for this course (possibly a direct link to the Lectures page), the Ed forum, or the Living Omni-Grid. This is useful for minimizing clicks and keystrokes and saving yourself the time and cognitive effort it takes to parse through different page suggestions that pop up in your web browser's navigation bar as you're typing.

For Google Chrome users, see the following page for help getting that set up: http://bit.ly/2N141BB

This is especially helpful if, say, you were in another class that used an Ed forum, and so typing "ed" in your web browser's location bar always suggests last quarter's forum link. Some shortcuts I use, personally, include:

keyword link
b CS106B homepage: https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1242/
ed Ed forum: https://edstem.org/us/courses/45672/
og Living Omni-Grid: https://docs.google.com/spreadsheets/d/1klB-kNo6D-5i3l1joROtTqiPoGB8YorA
sm Stanford Mail: (direct link to my university inbox)

Hello, world!

At the very end of class, I loaded up the Qt Creator and threw down the code for a simple "Hello, world!" program that uses the Stanford C++ Library's console for displaying its output. Here's the code:

#include <iostream>
#include "console.h"

using namespace std;

int main()
{
cout << "Hello, world!" << endl;
return 0;
}

The output was, of course:

Hello, world!

What's next?

On Friday, we'll delve into some basics of C++ and see an intense amount of code. You will want to come prepared to take lots of notes. Our first quiz will unlock on Friday, as well.

Keep in mind that you can always check out the Living Omni-Grid or the Lectures page to see what's coming up next, as well.