民国抗战gl小说:写几行代码实现打印出c:\aa文件夹下的所有文件名
来源:百度文库 编辑:中科新闻网 时间:2024/05/18 20:03:47
伪代码,使用API函数FindFirstFile
a=Findfirstfile("c:\aa\*.*")
while((a=FindNextfile("c:\aa\*.*"))!=NULL)
{
print a;
}
中科新闻网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:中科新闻网 时间:2024/05/18 20:03:47
伪代码,使用API函数FindFirstFile
a=Findfirstfile("c:\aa\*.*")
while((a=FindNextfile("c:\aa\*.*"))!=NULL)
{
print a;
}