Add stdinfile.c
This commit is contained in:
parent
64840bf4fd
commit
86c4afa38a
11
stdinfile.c
Normal file
11
stdinfile.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int c = getc(stdin);
|
||||||
|
while (c != EOF) {
|
||||||
|
putchar(c);
|
||||||
|
c = getc(stdin);
|
||||||
|
}
|
||||||
|
getchar();
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user