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
We’re about to say something you might not believe: C++ provides no functions for creating directories and getting the contents of a directory.
Really! We know it’s hard to believe, but we can make two points about this:
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. ...