Jump to content

C++ Language/Std/FilesystemAccess/MovingAndDeleting

From Wikibooks, open books for an open world

An existing directory or file can be moved by using rename() to change its name.

An existing directory or file can be deleted by remove().

Additional information about moving and deleting files