So I am looking for a simple way to make a c++ program, but using batch code as well. Simply put, I'm off school for the summer, and I am trying to keep myself busy while still learning as much as I can with c++. I made a batch file that copies some of my files to an external hard drive for updates. I want to now make a c++ code that will do the same thing. My batch code looks like this.
The Windows Platform API has a CopyFile function. Directories are traversed with FindFirstFile/FindNextFile/FindClose. You can create a directory with CreateDirectory.