Project 5

Introduction

For this last project we are going to be looking at a basic C++ class to do some Object Oriented programming. The class in this project will model a 1574 student and their grades.

Details

The details for the project are in the Project 5 API and you should be sure to read them closely to make sure you know what you need to do.

Helpful Files

If you'd like a main you can use for testing, here's a main you can use and an input file.

main
grades
alternative main

Input

There really is no input format for this project. You should write a main that will some student information. See the helpful files if you'd like to use my main and input files. These are provided for you to test.

Output

This is a sample output for what display grades would look like

Name: McPherson, Dave   
Attendance: 9  
Midterm: 89  
Final: 88  
HWs: 100, 90, 80  
Projects: 100, 90, 80  
Average: 89.40  

Requirements

  1. You must use the file name Student.h for your header file name.
  2. You must implement the methods in the API.
  3. You may not use the STL for storing the grades.
  4. You must comment your classes with a header comment and methods with method comments

Optional Approach

If you are looking for a slightly more advanced approach to solving this problem. Implement the arrays as dynamically allocated and then instead of having the plain array in the Student, use the dynamic array instead. With this approach your don't need to worry about having "too many" grades, you simply grow as you go.

Due

This is due Wednesday December 10 by 11:55PM

Grading

Zip up your Student.h and Student.cpp and turn them into Web-CAT