January 2021
Intermediate to advanced
912 pages
19h 47m
English
Chapter 4
IN THIS CHAPTER
Creating and deleting directories
Getting the contents of a directory
Copying and moving, and why they are related
Moving and renaming files and why they are similar
Native C++ versions before version 17 provide no functions for creating directories and getting the contents of a directory. (C++ 17 and above provides access to the filesystem library, but it isn’t implemented in most compilers yet.)You need to know two points about this situation:
C++ has a holdover from the C programming language in the header file stdio.h that includes functions for renaming and removing files and directories. ...
Read now
Unlock full access