Closed Blackflame576 closed 1 year ago
`#include
int main() { try { std::filesystem::copy("from.txt", "to.txt"); std::filesystem::remove("from.txt"); } catch (std::filesystem::filesystem_error& e) { std::cout << e.what() << '\n'; } return 0; }`
`#include
include
int main() { try { std::filesystem::copy("from.txt", "to.txt"); std::filesystem::remove("from.txt"); } catch (std::filesystem::filesystem_error& e) { std::cout << e.what() << '\n'; } return 0; }`