Need a help on increasing stack size of Code::Blocks 16.01

Правка en1, от zoxl, 2017-12-04 17:03:04

I have a problem setting stack size of Code:Blocks 16.01.

I had to code a DFS by recursion that has a depth of 100,000 and it gets overflowed in my computer. I thought it was a stack problem, so I tried some stuffs to increase the stack size but all failed.

I tried putting -Wl,--stack,268435456 << this in linker settings but it failed.

Does anyone know how to increase the stack size of Code::Blocks? I use Windows.

sorry for my bad english

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский zoxl 2017-12-04 17:03:04 516 Initial revision (published)