Leite33
December 16th, 2008, 12:22 AM
Hi i made the aove code to check if a file exist:
-----------------------------------------------------
FILE *fp;
fp=fopen("c:\\.txt","r");
if(fp==NULL)
ShowMessage("The file doesnt exist");
else
ShowMessage("File exists");
----------------------------------------------------
Can i make a simple program to check how many txt files exist on c:\\
Thank you
-----------------------------------------------------
FILE *fp;
fp=fopen("c:\\.txt","r");
if(fp==NULL)
ShowMessage("The file doesnt exist");
else
ShowMessage("File exists");
----------------------------------------------------
Can i make a simple program to check how many txt files exist on c:\\
Thank you