COM1100 -- Winter2000 -- Yuhong Yin
3
File stream as function arguments
nA file stream object can be a function argument.
nThe only requirement is that the function’s formal parameter be a reference to the appropriate stream, either as :
nifstream&
nor ofstream&