这个为啥报错啊
do
{
if (!strcmp(fa.name, ".") || !strcmp(fa.name, ".."))
continue;
if (fa.attrib == _A_SUBDIR)
{
sprintf_s(thePath, "%s/%s", path, fa.name);
findAllCodes(thePath);
findALLDirs(thePath);
}
} while (_findnext(handle, &fa) == 0);
_findclose(handle);
}
0x00007FFB8E95168D (ntdll.dll)处(位于 Project1.exe 中)引发的异常: 0xC0000005: 写入位置 0x0000000025EE9F30 时发生访问冲突.
用的VS2022
代码不全,看不出有什么问题。