Description: Med declare an abstract class a base class, which contains only one string type data member title (name) and two pure virtual function print () and id (). Then derive Book class, CD Mag classes and class. In the Book class, including three string type data members author (authors), pub (publisher), isbn (ISBN) and function members print () and id (). In the CD class, including three string type data members composer (creator), make (medium format), number (ID) and function members print () and id (). In Mag class contains two string type data members issn (magazine number), pub (publisher), a member of two integer data volume (volume), number (No.) and function members print () and id (). Derived class print () and id () Function Please design themselves.
To Search:
File list (Check if you may need any files):
homework
........\hw7_1.cpp
........\hw7_2.cpp
lab
...\lab7_1.cpp
...\lab7_2.cpp
...\lab7_3.cpp