c++ - How to insert values from boost::filesystem::directory_iterator() to a map -
std::copy(boost::filesystem::directory_iterator(paths), boost::filesystem::directory_iterator(), // directory_iterator::value_type std::ostream_iterator<boost::filesystem::directory_entry>(std::cout, "\n"));"
the above code return files in directory. need add file names map.
paths --->boost::filesystem::path
Comments
Post a Comment