home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH03 / A03152.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-20  |  302.5 KB  |  1 channel  |  11,025 sample rate  |  28 seconds
Transcription: You can specify that a member function is const or volatile. If you do, this becomes part of the type of that function. For example, the type of f is a const function taking an argument of type int and returning void, while g is a volatile function taking an argument of type int and returning void. A const member function cannot modify data members of the class.