15 lines
215 B
C
15 lines
215 B
C
|
#include <stdio.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FILE *fp;
|
||
|
int c;
|
||
|
|
||
|
fp = freopen( "file", "r", stdin );
|
||
|
if( fp != NULL ) {
|
||
|
while( (c = fgetchar()) != EOF )
|
||
|
fputchar(c);
|
||
|
fclose( fp );
|
||
|
}
|
||
|
}
|