# include & ltstdlib.h & gt
# include & ltio.h & gt
const char * to _ search = " E:\ \ 2008.001 \ \ *。txt ";
int main()
{
長柄;
struct _ finddata _ t fileinfo
handle=_findfirst(to_search,& ampfileinfo);
int I;
char x[10][256];
if(-1==handle)
return-1;
strcpy(x[0],fileinfo . name);
for(I = 1;我& lt10;i++)
{
而(!_findnext(句柄,& ampfileinfo))
{
strcpy(x[i],fileinfo . name);
}
}
_ find close(handle);
系統(“暫停”);
返回0;
}