C++ Language/Std/FilesystemAccess/MovingAndDeleting

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

An existing directory or file can be deleted by.

Additional information about moving and deleting files