5,337
edits
(→Path) |
|||
Line 95: | Line 95: | ||
Convenient functions for filesystem. Added since C++17. | Convenient functions for filesystem. Added since C++17. | ||
====Path==== | ====Path==== | ||
[https://en.cppreference.com/w/cpp/filesystem/path cppreference] | [https://en.cppreference.com/w/cpp/filesystem/path cppreference] | ||
Note if you use g++ <= version 9, you will need to add the flag <code>-lstdc++fs</code>. | |||
Note if you use g++ <= version 9, you will need to add the flag <code>-lstdc++fs</code>. | |||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
using std::filesystem::path; | using std::filesystem::path; |