Week 2. In Review
The Week in Review program for Week 2 brings together many of the skills you’ve acquired over the past fortnight and produces a powerful program.
This demonstration of linked lists utilizes virtual functions, pure virtual functions, function overriding, polymorphism, public inheritance, function overloading, pointers, references, and more.
On Day 13, “Managing Arrays and Strings,” linked lists were mentioned. In addition, Appendix E, “A Look at Linked Lists,” provides a robust example of using a linked list. If you haven’t looked at Appendix E, don’t fret, linked lists are composed of C++ code you have learned about already. Note that this is a different linked list from the one shown in the appendix; in C++, there are many ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access