Question: Assignment Deliverables - You will make a CCourse class, CStudent class, and a CRegistrar class. - Create dynamic arrays of CStudent and CCourse objects. -

 Assignment Deliverables - You will make a CCourse class, CStudent class,and a CRegistrar class. - Create dynamic arrays of CStudent and CCourseobjects. - You will then test your new classes by creating acourse, giving students a reference to the course they are taking andhaving the registrar store all information about students and courses in the

Assignment Deliverables - You will make a CCourse class, CStudent class, and a CRegistrar class. - Create dynamic arrays of CStudent and CCourse objects. - You will then test your new classes by creating a course, giving students a reference to the course they are taking and having the registrar store all information about students and courses in the university (using dynamic arrays) - A1 should help as starter code. - Your code should test your connections by calling functions like printRegistrarInfo. Grading The assignment is essentially broken into two parts: code quality and code functionality. 50% Code functionality is indicated by compiling code (20%), correct code outputs (20%) and passing given tests of your code (10\%) 50% : Code quality is determined by examining each function written and evaluating code based on clarity, comments, and correctness (even if the code running gives the right answer the code could be wrong). Longer or more complicated functions will be worth more. Stage 1: Basic Classes You will make two classes (using a .h and .cpp file as shown in class) which have only private member variables and include getter and setter methods (aka mutator and accessor methods). You should also use the string class and cout statements when appropriate (since we are now doing C++ ). Task 1: CCourse (30 points) Make a class CCourse that has private member variables and public functions 1. The member variables are: - String name - Unsigned int maxEnrollment - Double average 2. Provide a blank (no parameter) constructor for the CCourse class. Notice that this should set all member variable to SAFE values like " "or 0 . 3. Write getter and setter functions for EACH member variable. Setter methods should always check to make sure new values are acceptable. For example, the average can't be

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!