Overview

This assignment covers a variety of C++ topics:

  • Classes
  • Constructors
  • Destructors
  • Operator overloading
  • Smart pointers
  • Inheritance

You may notice that inheritance won’t be covered until Wednesday’s lecture, but you don’t actually have to write any of the code to make inheritance work, just to implement the derived classes.

You will submit via Gradescope and may re-submit after viewing the initial auto-grading output.

This homework should be done independently. If you work with a classmate, make sure you are each editing and working on your own set of files. You should not copy and paste code. We take academic integrity seriously, so please don’t cheat.

If you run into any trouble or any errors, post on Ed (with a screenshot of your error and any relevant details) or come to office hours and we can work together to figure it out.


Subpages

  1. Setup - Set up your git repo on Calgary for HW8.
  2. Program Specification - Complete the actual programming component of this homework.
  3. Assessment - Explains how this homework will be graded.
  4. Submission - Explains waht and how to turn in this homework.