旱半夏与水半夏的区别:写几行代码实现打印出c:\aa文件夹下的所有文件名
来源:百度文库 编辑:神马品牌网 时间:2024/05/26 09:13:58
伪代码,使用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;
}