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

前端 未结 4 2057
鱼传尺愫
鱼传尺愫 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:56

    Rather than mess with with the stack size, why don't you simply use a std::vector or even dynamically allocate an array yourself?

提交回复
热议问题