// copy_digits.cpp #include int main() { int c; FILE *in=fopen("digits.txt", "rb"); FILE *out=fopen("copied_digits.txt", "wb"); if (in && out) { while ((c=getc(in))!=EOF) putc(c, out); } return 0; }