Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <boost/filesystem.hpp>
- using namespace boost::filesystem;
- int main() {
- std::cout << "Hello World!\n";
- auto end_it = directory_iterator();
- auto it = directory_iterator(current_path());
- for(; it != end_it; it++) {
- std::cout << it->path() << std::endl;
- }
- std::cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement