Write a C++ program (cp.cpp) to copy any kind of file (.txt or .exe) which accepts the source and destination file name from the command line.

7. Write a C++ program (cp.cpp) to copy any kind of file (.txt or .exe) which accepts the
source and destination file name from the command line. Finally the program should
work for copying the file. e.g.
cp source.exe dest.exe
or
cp source.txt dest.txt
(

Leave a Reply