problem with files
Hi
i have a problem with files below condition returns true:
File *fp=fopen("Myfile.txt","r+b");
if(fp==NULL)
printf("Error\n");
1-the file is exist
2-the file is Correct
3-the file is not open
this condition works 5 minuets without any problem but after 5 min the error is appear,
a timer open and close Myfile every 5 milisecondes
i don't know what is happen after 5 minuets that this condition returns true
please help me thanks
|