5,337
edits
(→RAII) |
|||
Line 89: | Line 89: | ||
===Filesystem=== | ===Filesystem=== | ||
<code>#include <filesystem></code><br> | |||
Convenient functions for filesystem. Added since C++17. | |||
====Path==== | |||
<syntaxhighlight lang="cpp"> | |||
</syntaxhighlight> | |||
===Fstream=== | |||
<code>#include <fstream></code><br> | <code>#include <fstream></code><br> | ||
Used for input/output of files | |||
====Reading and Writing==== | ====Reading and Writing==== | ||
Reading and writing is done using <code>fstream</code>.<br> | Reading and writing is done using <code>fstream</code>.<br> |