#include <stdio.h>
main()
{
char Row[80];
FILE *SF, *VF;
SF = fopen("Input.txt","r");
VF = fopen("Output.txt","w");
fgets(Row, 80, SF);
fprintf(VF, "%s", Row);
fclose(VF);
fclose(SF);
system("pause");
}
Can any1 tell me how can I copy more than just one row? I wrote this based on my material that my professor gave me, but there is no info about how can I copy more than one row.

New Topic/Question
Reply




MultiQuote









|