home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06142.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  282.8 KB  |  1 channel  |  11,025 sample rate  |  26 seconds
Transcription: The example class, weather, above has four constructors. Notice that each constructor has a distinct number and type of arguments. When an object is declared, the compiler calls the constructor function that matches the type and number of arguments in the declaration. The ability to define multiple meanings for the constructor and member functions is supported by the overloading facility of C++.