1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
int main(int argc, char * argv[]) {
// scanf until EOF
char s[100];
while (scanf("%99s", s) == 1) {
printf("Read: %s\n", s);
}
return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX