home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH14
/
A141121.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-09-27
|
303 b
|
6 lines
The best way to see the importance of virtual functions is to
compare what happens when you override virtual and nonvirtual
functions. This example shows what happens when a derived class
overrides a nonvirtual function. The next example shows what
happens when a virtual function is overridden.