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 ...
Get Sams Teach Yourself C++ in 21 Days , Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.