home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06166.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  276.2 KB  |  1 channel  |  11,025 sample rate  |  25 seconds
Transcription: Because two data members of this class are pointers, one for the array of names, one for the array of telephone numbers, the default copy constructor does not work correctly on phonebook objects. A copy constructor is supplied with the class definition. When a phonebook object is declared and an existing phonebook object is supplied in the declaration, this constructor function is invoked.