第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

請說明一下!什么意思?

請說明一下!什么意思?

C
有只小跳蛙 2023-03-02 18:14:34
CFileFindThe MFC class CFileFind performs local file searches and is the base class for CGopherFileFind and CFtpFileFind, which perform Internet file searches. CFileFind includes member functions that begin a search, locate a file, and return the title, name, or path of the file. For Internet searches, the member function GetFileURL returns the file’s URL.CFileFind is the base class for two other MFC classes designed to search particular server types: CGopherFileFind works specifically with gopher servers, and CFtpFileFind works specifically with FTP servers. Together, these three classes provide a seamless mechanism for the client to find files, regardless of the server protocol, the file type, or location, on either a local machine or a remote server. The following code will enumerate all the files in the current directory, printing the name of each file:CFileFind finder;BOOL bWorking = finder.FindFile("*.*");while (bWorking){bWorking = finder.FindNextFile();cout << (LPCTSTR) finder.GetFileName() << endl;}To keep the example simple, this code uses the standard C++ library cout class. The cout line could be replaced with a call to CListBox::AddString, for example, in a program with a graphical user interface.For more information about how to use CFileFind and the other WinInet classes, see the articleInternet Programming with WinInet in Visual C++ Programmer's Guide.
查看完整描述

1 回答

?
臨摹微笑

TA貢獻1982條經(jīng)驗 獲得超2個贊

cfindfile主要完成本地文件的搜索遍歷功能
CFileFind finder; 
BOOL bWorking = finder.FindFile("*.*"); 
while (bWorking) 

bWorking = finder.FindNextFile(); 
cout << (LPCTSTR) finder.GetFileName() << endl; 

遍歷文件夾下的所有文件

查看完整回答
反對 回復 2023-03-06
  • 1 回答
  • 0 關注
  • 109 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號