home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1996 June / PCPRO_696.ISO / specials / c-pp / 01 / 01038.wav (.mp3) < prev    next >
Waveform Audio File Format  |  1995-10-14  |  480.0 KB  |  1 channel  |  22,050 sample rate  |  22 seconds
Transcription: The next one is default parameters. With C, if a function has two parameters, you have to pass it two parameters when you call it. You have no choice. The number of parameters always has to match. With C++, you can declare that a parameter has a default value. This lets you skip it when you call the function. Let me show you how that works.