filesystem remove a directory code example Example: c++ filesystem remove file bool std::filesystem::remove(const std::filesystem::path& p);