用什么语句逐个对文件夹里的文件进行操作那?
主要是获得文件的名字
主要是获得文件的名字
解决方案 »
- 做过canny算法的请进来接分
- 让edit类实现键盘回车效果
- error LNK2001: unresolved external symbol "int __cdecl abc(void *,void *,unsigned long *,unsigned long,uns
- 在线等待,高分求救,网络问题
- 急!我想开发一个客户提示软件(送分)
- 基于对话框程序中引用数据库的错误
- 如何分析BO2K源代码,分析BO2K代码会得到哪方面的提高?有没有想一起分析的?
- 如何将一个10进制的数转化成16进制的CString ?
- 小型数据管理系统,求指点
- 初学图像处理,有关RGB矩阵的问题想请教一下
- dll调用exe时候问题
- 请教,如何实现通过拖动鼠标,在图象中任意位置选择一个合适大小的区域画一个矩形框,谢谢!
long hFile= 0L;
struct _finddata_t c_file;
CString SearchPath = "";
CStringList valid_filenames ; SearchPath = m_strPath + "*.*";
hFile = _findfirst(SearchPath, &c_file);
if (hFile != -1L)
{
do
{
cout<<m_strPath + c_file.name<<endl;
}
while (_findnext(hFile, &c_file) == 0);
_findclose(hFile) ;
}
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx
http://social.msdn.microsoft.com/Forums/en/Vsexpressvc/thread/4b0b011e-b037-4e64-ae9e-dd0f75d08949
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx
http://social.msdn.microsoft.com/Forums/en/Vsexpressvc/thread/4b0b011e-b037-4e64-ae9e-dd0f75d08949