Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- #include <iostream>
- #include <filesystem>
- namespace fs = std::filesystem;
- int main()
- {
- for (auto& p : fs::recursive_directory_iterator("C:\\")) {
- std::cout << p.path() << '\n';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement