Copying a filesuggest change
std::ifstream src("source_filename", std::ios::binary); std::ofstream dst("dest_filename", std::ios::binary); dst << src.rdbuf();
The filesystem library was originally developed as
boost.filesystem and finally merged to ISO C++ as of C++17.
Table Of Contents