SHARE
TWEET

Untitled

a guest Oct 19th, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top