是否可以在 DevC++ 中设置堆栈限制?与 linux 上的“ulimit -s”基本相同。
最佳答案
尝试将此选项提供给 ld
(链接器):
--stack
reserve
--stack
reserve,commit
Specify the number of bytes of memory to reserve (and optionally commit) to be used as stack for this program. The default is 2Mb reserved, 4K committed. [This option is specific to the i386 PE targeted port of the linker]
关于c++ - 开发 C++ (Mingw) 堆栈限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/894666/