Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <fstream>
  2. #include <iostream>
  3. #include <filesystem>
  4. namespace fs = std::filesystem;
  5.  
  6. int main()
  7. {
  8.  
  9. for (auto& p : fs::recursive_directory_iterator("C:\\")) {
  10.  
  11. std::cout << p.path() << '\n';
  12.  
  13. }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement