Objective Lab Give Students Practice Object Oriented Programming Particular Process Buildi Q37185214

The objective of this lab is to give students more practice withobject oriented programming. In particular, the process of buildingclasses on top of other classes. We will start by compiling andtesting the “Student” class from the previous lab. Then we will usethe Student class to create a “Course” class that can store basicinformation about multiple students.

Instructions:

Consider the following C++ program. At the top you can see theinterface for the Student class. Below this is the implementationof the Student class methods. Finally, we have a very small mainprogram.

#include <string>#include <fstream>#include <iostream>using namespace std;class Student{public: Student(); Student(const Student

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.