OS:Windows 11 Pro24H2
IDE:Rad Studio 12.2补丁2
新测试项目,32位控制台应用程序:
#include <iostream>
#include <tchar.h>
int _tmain(int argc, _TCHAR* argv[])
{
char txt[100][50];
printf("Hello World!");
}
如果我删除阵列
txt
,一切都很好。如果我切换到64位,一切都很好。有人知道为什么这个阵列在32位中不起作用吗?