home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH14 / A141151.TXT < prev    next >
Encoding:
Text File  |  1993-09-28  |  375 b   |  7 lines

  1. This example is exactly the same as the previous example except
  2. that message() is declared as a virtual function in base1.  This
  3. example shows what happens when a derived class overrides a
  4. virtual function that is defined in a base class.  You can compare
  5. the results of this example with the results of the previous
  6. example to see the importance of virtual functions.
  7.