Can you set the size of the call stack in c++? (vs2008)

前端 未结 4 2028
鱼传尺愫
鱼传尺愫 2021-01-23 07:32

I\'m working from an example piece of code that allocates a relatively large local array. (32768 to be precise) When I try the same I\'m getting behaviour that appears to be a s

4条回答
  •  走了就别回头了
    2021-01-23 08:04

    You can use the /F compiler flag to set the default stack size, or specify it as the second parameter to the CreateThread function.

提交回复
热议问题