home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH14 / A141151.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  263.6 KB  |  1 channel  |  11,025 sample rate  |  24 seconds
Transcription: This example is exactly the same as the previous example, except that message is declared as a virtual function in Base 1. 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.