Originally Posted by Salem
printf("Enter name of the destination file:");
printf("Problem, cannot open the file for reading.\n");
printf("Problem, cannot open %s for writing.\n", filename2);
printf("The file is successfully closed.\n");
printf("%s successfully closed.\n", filename2);
I have 30 files, which i need to read and extract info and write the data in a single file. I hope its clear now.