I have 300+ files and I am reading it via C program...i am able to compile but what should I pass while executing C program...below is my code...i am bit new to the C ...
int i;
FILE *in;
FILE *out;
char ifile[100],ofile[100];
main() {
for (i = 0; i < 3; i++)
{
sprintf(ifile,"/shell/file%03d.dat",i);
sprintf(ofile,"/shell/o_file%03d.dat",i);
in = fopen("ifile","rb");
out = fopen("ofile","wb");
fclose(in);
fclose(out);
return(0);
}
}