Week 14 Class 26 Thu Apr 17 Posted: Apr 17
Announcements
For all projects, you need to follow all the coding and design practices. This means that for added classes, you must have a header comment, include guards, the works.
Exercise 79: C++ Inheritance Specifiers Crossword
This is what I tried to do in class on Tuesday, but the network issues prevented it.
Do this as extra credit. I will drop another lowest-score exercise.
Agenda
Notes: Design Pattern Composite
Compose objects into tree structures to represent part-whole hierarchies
Composite lets clients treat individual objects and compositions of objects uniformly
Convert the interface of a class into another interface clients expect
Adapter lets classes work together with incompatible interfaces
Unless otherwise noted, exercises are due by 4:30 pm on Monday, Apr 21