home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_07
/
1107102a
< prev
next >
Wrap
Text File
|
1993-04-29
|
231b
|
16 lines
// copy2.cpp: Copy input lines
#include <iostream.h>
#include <stddef.h>
main()
{
const size_t BUFSIZ = 128;
char s[BUFSIZ];
while (cin.getline(s,BUFSIZ))
cout << s << '\n';
return 0;
}