Hello, I am trying to make a program which tells the user its location, and puts its raw code into a text file at the root directory. The part that tells the user the location is fine, but the copy command isn't. Can anyone tell me what I'm doing wrong?
Error 1 error C2664: 'CopyFileW' : cannot convert parameter 2 from 'const char [15]' to 'LPCWSTR' c:\users\vlad\documents\visual studio 2008\projects\copy\copy\main.cpp