home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Teach Yourself C in 21 Days (6th Edition)
/
STYC216E.ISO
/
mac
/
Examples
/
Day14
/
stream.c
< prev
next >
Wrap
C/C++ Source or Header
|
2002-05-05
|
230b
|
15 lines
/* Demonstrates the equivalence of stream input and output. */
#include <stdio.h>
int main( void )
{
char buffer[256];
/* Input a line, then immediately output it. */
puts(gets(buffer));
return 0;
}