Week 02: File Input/Output, Exception Handling, Two-dimensional Arrays

SLOs for Week 02

At the end of this unit, students will be able to…

  • open, read from, write to, and close files.
  • detect end-of-file conditions.
  • properly use try, catch, and throw in C++ code.
  • define two-dimensional arrays, iterate over them, and manipulate them.

Slides, videos, and application exercises

Lab 02: File I/O, Control Structures, and the Debugger

Project 02: Falling Sand Simulator