#include
int main(int argc, char *argv[]){
FILE *f;
char c;
f=fopen(argv[1], “w”);
setbuf(f, NULL);
while((c=getchar()) != EOF)
fputc(c, f);
}
#include
int main(int argc, char *argv[]){
FILE *f;
char c;
f=fopen(argv[1], “w”);
setbuf(f, NULL);
while((c=getchar()) != EOF)
fputc(c, f);
}