Professional Documents
Culture Documents
Assignment 3
Assignment 3
Class: CC01
- Dynamic size also means we do not need to declare the size upfront because
vectors automatically resize themselves to accommodate the number of elements
they hold.
- New adapters can also be added if there is anymore classes that needed to be
adapted, allow more flexibility.
- This pattern also isolates changes to the adapter, making it easier to maintain
or fixing the code of the system without creating unnecessary errors.
4. Explanation for Part 3
- In part 3, I utilize smart pointers to improve my program.
- I also use auto and range for loop in the students’ information display
function.