Passing Value by Reference
Get a copy of the
cp /net/data/ftp/pub/class/110/ftp/cpp/function1.cpp function1.cpp
or, using your mouse to copy and paste the program into Pico, or
using the Hercules command-line ftp program to copy this file from the CS Department's anonymous ftp site.
The path: pub/class/110/ftp/cpp The file:
The purpose of this program is to practice using
user defined functions
Add code to the program to complete it.
Compile and run this C++ program.
When it is running correctly, use Script to create a file called function1.log
to your lab instructor.
This page last modified:
Thursday, 06-Oct-2011 12:13:32 CST
Copyright: Department of Computer Science, University of Regina.