放在头文件前面 #pragma comment(linker,"/STACK:1024000000,1024000000") 转载于:https://www.cnblogs.com/vocaloid01/p/9514111.html