A.Objective: Learn more about pure virtual functions for the test.
B.Program:
My .h files:
Student.h
EngStudent.h
All-in-One, i.e. output included
My .cpp files:
EngStudent.cpp
C.Comment:
This program from the book helped me to understand pure virtual functions better. I now know the syntax and why they are used. The base class in which the pure virtual function is declared can never be instantiated. I hope this will help me on the test.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment