Code:#include<iostream>
#include<io.h>
using namespace std;
struct ffblk
{
long ff_reserved;//whatever
long ff_fsize;//the size of the file
unsigned long ff_attrib;//the file's attributes
unsigned short ff_ftime;//the file's timestamp
unsigned short ff_fdate;//the file's datestamp
char ff_name[256];//the file's name
};
int main()
{
ffblk ffblk;
int done;
done = _findfirst("*.TXT", &ffblk ,0);
cout<<done;
return 0;
}
function does not take 3 arguments
