Moving from one directory to another?
Im new to C++ and am trying my best to learn the stuff. I need to figure out the code to move from let say c:\My Documents to c:\Program Files with my C++ program. I have no code of my own yet since this is the base of my program so far. What i want it to do is really navigate to say c:\Program Files from where ever the program is saved. Ive tried the system() function but its not helping me i can only get it to display the directory by it being system("dir"). could anyone help me?