Question: Develop a model of the problem you are developing. This is different from the flowcharting you have been doing throughout the semester. Make sure the

 Develop a model of the problem you are developing. This is

Develop a model of the problem you are developing. This is different from the flowcharting you have been doing throughout the semester. Make sure the model reflects the problem statement. You then need to develop a C++ program to solve the problem stated by you. Define a class Course with appropriate data member(s) and member functions (at least constructors and a destructor for each class.) Define the class CName derived from the class Course that will create the course name, like ELET, with appropriate data member(s) and member functions (at least constructors and destructor for each class) and writes the Course name in the file courseNbt.txt. Define the class CNum derived from the class Course that will create the course number, like 2300 with appropriate data member(s) and member functions (at least constructors and destructor for each class) and writes the course number in the file cnum.txt. You will create an object of the class CName and an object of the class CNum using the default constructors and constructors with arguments. The default constructors initialize the two objects CName1 and CNum1. An overloaded constructors will obtain the course name and the course number from the keyboard and create objects CName2 and CNum2. The program will then reads the course name and the course number from the files and writes both files to the file MyCourse and displays the full course using the function displayCourse() to display the course name and the course number in the format shown below. CName CNum Once the full courses are displayed for all objects are displayed, the program ends. Other member functions for the classes are defined by the programmer and as a minimum will include constructors, destructors, accessor, and mutating functions. User-defined functions will be used as needed to solve your problem. This program leaves out a few options for you to select

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!