Homework 4, The Enumeration of Colors.

Short Description:

Exploring scoped enumerators.

This assignment is worth 5 points.

Goals

When you finish this homework, you should have:

Formal Description

  1. Setup
  2. Declare a scoped enumeration
  3. Implement the NextColorT function
  4. Implement a ColorTToString function
  5. Implement a StringToColorT function
  6. Uncomment the code in main and the additional functions.
  7. Add the colors yellow, cyan and magenta.

Discussion

Required Files

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

Submission

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