Hi. I'm pretty new to programming but I have an ok handle on it. I normally do scripting and I used the xcopy command in a batch file to copy a folder from one location to another. I want to copy the same folder using C++. Unfortunately, I got someone who recommended using system() but I don't particularly like using that. I need to be pointed to what command I should be using other than system if at all possible. If system really is the most effective way of doing it then I understand. I also found references to an SHFileOperation function, but I found the Microsoft page for it rather complex for me given I only started doing this a couple weeks ago. Any ideas? (No copy paste solutions please. Then I'll learn less.)
Oh right, Code::Blocks so whatever the default is. Actually thats another question. Is Code::Blocks the Compiler or just the interface for a number of compiler's?
Yeah, I'm gonna pull the noob card and ask "What!?" I have 0 education in C++. Are these like "classes" I need to call or functions or some such? Which is to say, can I find these things in the reference material?
After an answer to that Ill mark this bad boy solved.
Cool. Thanks for the help. I just find the system() way of doing things to be less than elegant. I already know enough scripting and that just makes me revert back to it.
Ha! That's wonderful. Ok, so I will avoid using any system(). I'm assuming I need to download the library zip file, and then unpack it into some folder within the CodeBlocks directory?
Edit: that's why they make a getting started guide!
Any recommendations that can help me learn syntax (I'm assuming that is the correct term)? That has been the hardest thing to wrap my head around. Or is it like any other spoken language in that you just have to spend time with it?
I got that it's written in C++. My question more pertained to C++. I apologize, I should have been more specific. I'm only into this because there is a lull in the work at my job right now and I wanted to expand what I know. Well, and like every boyhood dream, I one day would like to write my own game but that's a long way off and I'm content to make little .exe's for the moment to help me learn.
oh you just meant in general? right programs that reinvent the wheel and ground in the features of c++. for example you could rewrite the cmath library
or make a container (not an stl standard one though)
THAT sounds like a good idea. I've been asking people for ideas and that seems like a fun one. I'll make a copy of the cmath library. I don't want to screw up and then end up having to find the library again or whatever. I'll treat it like a reg file.
EDIT: Wow, that looks intense. I think I need some more training time. I'm not a C savant. But yeah, as soon as I think I can handle that I'll start doing that stuff. Sounds like and looks like fun actually.