How can I increase the stack size in Code::Blocks?
I've read this and it says default stack size in VS is 1MB. Now as far as I am concerned, it has nothing to do with VS and stack size is OS dependent. In my win10 case it is 1MB.
This seems a little bit outdated as following this: project->build options->linker settings->other linker options
doesn't exist no more.
There's no build under project bar.
Anyway, I need to increase my stack size so I can declare a huge two dimensional char array and benefit from cache. Like arr[1000][1000]
. As it will be on contiguous memory unlike char* arr[100]
which will point to 1000 different memory addresses containing the 1000 bytes.
I'm using Windows 10 mingw compiler.