C++ Language/Std/FilesystemAccess/Directories
Concatenating drive, directory, filename, and extension strings into one long path string used to be done by _makepath()
, but now the std::filesystem::path
can do so more elegantly (using its /
operator).
Some of the most common OS shell commands have C++ versions, such as _chdir()
, _mkdir()
, and _rmdir()
.