便携式洛氏硬度仪:写几行代码实现打印出c:\aa文件夹下的所有文件名
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/27 02:24:16
伪代码,使用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;
}