Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- string currentPath;
- string futurePath;
- cout << "Vvedit shlyah do faylu" << endl;
- cin >> currentPath;
- cout << "Vvedit shlah kopiuvannya" << endl;
- cin >> futurePath;
- string copyFromTo = "COPY " + currentPath + " " + futurePath;
- system(copyFromTo.c_str());
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement