Chapter 10, Implementing Association, Aggregation, and Composition
- Please see
Assessments/Chapter10/Chp10-Q1.cpp
in the GitHub repository.
(follow-up question) Once you have overloaded a constructor that accepts a University &
as a parameter, this version may be invoked using a University *
by first dereferencing the pointer to the University
within the constructor call (to make a referenceable object).
- a – f. Please see
Assessments/Chapter10/Chp10-Q2.cpp
in the GitHub repository. - a – b. (optional) Please see
Assessments/Chapter10/Chp10-Q3.cpp
in the GitHub repository.