使用C ++的目录中的文件计数 [英] File count in a directory using C++
本文介绍了使用C ++的目录中的文件计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C ++标准库来获取目录中的文件总数?
任何帮助。
How do I get the total number of files in a directory by using C++ standard library? Any help is appreciated.
推荐答案
你不能。您将能够获得的最接近的是使用像 Boost.Filesystem
You can't. The closest you are going to be able to get is to use something like Boost.Filesystem
这篇关于使用C ++的目录中的文件计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文