Home / Expert Answers / Computer Science / keep-original-files-data-structure-c-with-data-structure-nbsp-nbsp-nbsp-pa928

(Solved): ***KEEP ORIGINAL FILES** ***DATA STRUCTURE** ***C++ WITH DATA STRUCTURE***       ...



***KEEP ORIGINAL FILES** ***DATA STRUCTURE** ***C++ WITH DATA STRUCTURE***

Given main0, define a Course base class with functions to set and get the private data members of the following types:
- stri

File is marked as read only Current file: main.cpp \( \nabla \)

Current file: Course.h
Load default template...

 

Current file: OfferedCourse.h
Load default template...

 

Current file: Course.cpp \( ~ \)
Load default template...

 

Current file: OfferedCourse.cpp -
Load default template...
1 #include OfferedCounse. h
1/ TODO: Define mutator functions -

Given main0, define a Course base class with functions to set and get the private data members of the following types: - string to store the course number - string to store the course title Define Course's Printinfol function that outputs the course number and title. Then, define a derived class offeredCourse with functions to set and get the private data members of the following types: - string to store the instructor name - string to store the location - string class time Ex. If the input is: ECE287 Digital Systems Design ECE387 Embedded Systems Design Mark Patterson Wilson Hall 231 \( W F: 2-3: 30 \mathrm{pm} \) the output is: Course Information: Course Number: ECE287 Course Title: Digital Systems Design Course Information: Course Number: ECE387 Course Title: Embedded Systems Design Instructor Name: Mark Patterson Location: Wilson Hall 231 Class Time: WF: \( 2-3: 30 \mathrm{pm} \) File is marked as read only Current file: main.cpp \( \nabla \) Current file: Course.h Load default template... Current file: OfferedCourse.h Load default template... Current file: Course.cpp \( ~ \) Load default template... Current file: OfferedCourse.cpp - Load default template... 1 #include "OfferedCounse. h" 1/ TODO: Define mutator functions - \( 1 / \) SetInstructorName(), SetLocation(), SetClassTime() 1/ TODO: Define accessor functions - // GetInstructorName(), Getlocation(), GetClassTime ()


We have an Answer from Expert

View Expert Answer

Expert Answer


Code for main.cpp It includes the definition of the main function. #include #include "OfferedCourse.h" using namespace std; int main() { //
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe