home *** CD-ROM | disk | FTP | other *** search
- This example is exactly the same as the previous example except
- that message() is declared as a virtual function in base1. This
- example shows what happens when a derived class overrides a
- virtual function that is defined in a base class. You can compare
- the results of this example with the results of the previous
- example to see the importance of virtual functions.
-