Dan illuminates the more advanced uses of inheritance, polymorphism, and abstract base classes in C++, for when there's an "is-a" relationship. But consider the alternative strategy of classes containing other classes (aggregation), for cases where the "has-a" relationship is more appropriate.
#inheritance #polymorphism #aggregation #datastructures #cpp
This series follows the Frank Carrano textbook, Data Abstraction & Problem Solving with C++: Walls and Mirrors. We recommend this book as a useful resource for the sophomore-level programmer. Lectures are aligned with the 7th Edition text, but other close editions will serve as well.
Dan teaches in the CUNY/Kingsborough Department of Mathematics and Computer Science.
See information on the Carrano "Walls and Mirrors" textbook --
https://www.pearson.com/en-us/subject-catalog/p/data-abstraction--problem-solving-with-c-walls-and-mirrors/P200000003514
Get the free Embarcadero Dev-C++ IDE -- https://www.embarcadero.com/free-tools/dev-cpp
Download
0 formats
No download links available.
Class Reuse & Relations | Data Structures for C++, Interlude 5 | NatokHD