home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH14 / A14122.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  393.2 KB  |  1 channel  |  11,025 sample rate  |  36 seconds
Transcription: When a function has the same name as another function in the same scope, it overloads that function. The compiler uses the types and number of arguments to distinguish between different versions of an overloaded function. The signature of overloaded functions must be distinct. Overriding, on the other hand, occurs when a function in a derived class has the same name as a function in a base class. The base class and derived class functions do not need to have have distinct signatures. In fact, they must have identical signatures or the virtual function mechanism will not work.