little ballerina磁力:写几行代码实现打印出c:\aa文件夹下的所有文件名
来源:百度文库 编辑:高校问答 时间:2024/05/22 15:33:46
伪代码,使用API函数FindFirstFile
a=Findfirstfile("c:\aa\*.*")
while((a=FindNextfile("c:\aa\*.*"))!=NULL)
{
print a;
}
伪代码,使用API函数FindFirstFile
a=Findfirstfile("c:\aa\*.*")
while((a=FindNextfile("c:\aa\*.*"))!=NULL)
{
print a;
}