CS 70

Lesson Goals

  • Pig speaking

    I remember all that array stuff from Week 2, like *(arr + i). But I want to know MORE!!

  • LHS Cow speaking

    You're in luck!

This lesson will address aspects of the following goals from Group 4:

  • Goal 4B (Pointers):
    • Read, write, and visualize C++ code involving
      • Pointers
      • The indirection operator (*)
      • The index operator ([])
      • new, and delete
  • Goal 4D (Reading Types):
    • Use the inside-out rule to read, write, and use complicated C++ types involving pointers, references, arrays, and const.

Outline

(this might be a good time for a stretch break)

(nearly done, but this might be a good point for a break)

To receive credit: complete all pages above, then this page will be complete as well (and get a green check emoji at the bottom right of the page).

(When logged in, completion status appears here.)