简体   繁体   中英

How to search and display text files in c++

我只想在某个目录中制作一个文本文件列表并显示它们,以便用户单独访问。

使用 boost 文件系统库。

您可以使用 FindFirstFile 和 FindNextFile Windows API 来查找文件夹中的文本文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM