|
From: vinay k. <vch...@ya...> - 2002-08-31 15:45:04
|
Hello All,
The following program copies the content of the file
on to cout.
ifstream ifile ("example_file");
copy (istream_iterator <int, ptrdiff_t> (ifile),
istream_iterator<int, ptrdiff_t> (),
ostream_iterator<int> (cout) );
could some one tell me how this program works?
Regards
Vinay.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
|