Explore BrainMass

A C++ example of object-oriented programming

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

Hello I would like to have this written in the C++ language.
Below is detailed information. please send back as cpp files only.

Develop a class named Course to represent a course offered at a college.
Also develop a driver program to (1) read a list of courses from the file "courses.txt",
(2) create a Course object to represent each course, and (3) display all courses.
At the minimum the Course must have two attributes: course type and course title.

Please see attached files for more.

© BrainMass Inc. brainmass.com October 15, 2018, 12:58 pm ad1c9bdddf - https://brainmass.com/computer-science/java/creating-cplusplus-program-object-oriented-example-308829


Solution Preview

This solution requires creating a simple class "course" that contains
data about a course. The class has two data members: title and ...

Solution Summary

This solution provides a very simple C++ program that demonstrates basic object-oriented programming.