Copying Files from one source to a destination
Hey everyone I was wondering if anyone would know an effective method to copy a folder from a source directory to a destination directoy using C++. I was thinking that using command line commands would be the most effective method but this may be flawed. I'm not looking for an answer with code I'm just looking for ideas. Thanks in advance.
|
Shell command is one solution. The other one is to write it in C/C++. You have opendir/readdir/closedir to deal with directories, so you can get access to every file, then open orginal one and the copy and rewrite the whole content.
|
All times are GMT -5. The time now is 07:52 PM. |