我的程序在此行的第二次运行时崩溃:
char* temp_directive = (char *)malloc(7);
出现此错误:
Critical error detected c0000374
Windows has triggered a breakpoint in Maman14.exe.
This may be due to a corruption of the heap, which indicates a bug in Maman14.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while Maman14.exe has focus.
我不明白为什么,它总是发生在第二次运行。我尝试添加免费(temp_directive),但没有帮助
有这个问题的人吗?