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

前端 未结 4 2026
鱼传尺愫
鱼传尺愫 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 07:59

    You could create a new thread for this work. You can generally specify the size of the stack when creating a thread, and certainly with vs2008's CreateThread() function

提交回复
热议问题