Is it possible in c++ to count the number of files with a given extension in a directory?
I\'m writing a program where it would be nice to do something like this (ps
This kind of functionality is OS-specific, therefore there is no standard, portable method of doing this.
However, using Boost's Filesystem library you can do this, and much more file system related operations in a portable manner.