



时间:2011-08-04 关注公众号 来源:网络
#include "stdafx.h"
#include "afx.h"
#include "ioStream.h"
int main(int argc, char* argv[])
{
Dword returnValue;
if( SetCurrentDirectory("D:CodePOS") == TRUE)
{
CFileFind finder;
BOOL bWorking = finder.FindFile("*.*");
while (bWorking)
{
bWorking = finder.FindNextFile();
//cout << (LPCTSTR) finder.GetFilePath();
cout << (LPCTSTR) finder.GetFileName() << endl;
}
}
else
{
returnValue = GetLastError();
};
return 0;
}
上一篇:《魔法门英雄无敌6》圣堂生物介绍
下一篇:VC++实现广告窗口自动关闭