-
December 16th, 2008, 01:22 AM
#1
Files txt counter
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|