Im new to programming and trying to copy a file from My Documents To C.
The code i use is:
The main problem is the spaces in "Documents and settings" anyone know how to get past that
using namespace std;
MessageBox(NULL, "Copy","Press OK To Start Copy", MB_ICONEXCLAMATION | MB_OK);
system("copy C:\\Documents and Settings\\me\\Mine dokumenter\\test.txt C:\\test.txt");
im using windows xp/dev-c++
and for some reason the opposite /'s are shown as W here