本文介绍了目录扫描代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

大家好

我想知道VC中的目录扫描代码.
我有一个放置大约50个文件的文件夹,我想在该文件夹上应用目录扫描代码,逐步选择一个文件并创建放置文件,然后将其放置在同一文件夹或任何其他一个不同的文件夹中

请帮助

问候

Hi All

i want to know the directory scanning code in VC .
i have a folder in which approximately 50 files are placed i want to apply directory scanning code on the folder that step by step pick one file and create out put file and place it in the same folder or in any other one different folder

Plz Help

Regards

推荐答案

CFileFind find;
BOOL found = find.FindFile("*.txt");
while (found)
{
  found = find.FindNextFile();
}


这篇关于目录扫描代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 18:44