Homework 2, A Stack.

Short Description:

Create a stack class.

This assignment is worth 40 points.

Goals

When you finish this homework, you should have:

Formal Description

  1. Implement a stack class.
  2. You should thoroughly test your stack.
  3. Implement a solution to The Grand Adventure.

Your code must compile on cslab103 with the following compiler flags:
-g -O3 -Wpedantic -Wall -Wextra -Wmisleading-indentation -Wunused -Wuninitialized -Wshadow -Wconversion  -D_FORTIFY_SOURCE=2 -std=c++17

Your code must compile without errors or warnings.
Your code must not have memory leaks.

Required Files

A single tar file containing the source code and makefile for this program.

If you do not know how to produce a tar file, or need assistance with your Makefile, please contact me.

Submission

Submit your tar file to the D2L folder Homework 2 by the due date.