• CS 208.01 - Spring 2025

  • Schedule
  • Assignments
  • Resources
  • Samples
  • About

Lesson 7: A Pointed Construction

14 April, 2025

Outline:

  1. Questions?
  2. Quiz #2
  3. Pointers and strings, revisited
    • recap: & and * operators
    • printing pointers with %p and %s
    • pointers and structs

Reading assignment (to be completed by the next class):

Relevant to our discussion today:

  • DiS Sec. 2.3: Pointers and Functions
  • DiS Sec. 2.4: Dynamic Memory Allocation
  • Assignment 3: String Things – try to complete Part A today!

For next time:

  • DiS Sec. 2.5: Arrays in C
  • DiS Sec. 4.7: Integer Byte Order