#include <windows.h>using namespace std;char* file="d:/tester";hFind = FindFirstFile(file, &FindFileData); // line of error says argument of type char* is incompatible with parameter of
我是windows上的C/C++编码新手,在运行我的代码时遇到了这个错误。之前有人问过类似的问题,我将在下面链接,但是,这个解决方案对我不起作用,因为我没有更改字符集的选项。argument of type constchar* is incompatible with parameter of type "LPCWSTR" 下面是我的代码。