I have the following problem, when I define an array that is too large, for example: int matriz[2000][2000]
, compile and command to run, the program stops working. I just tested it in Windows and it appears that classic message ".exe has stopped working" .
#include <stdio.h>
int main() {
int matriz[2000][2000];
return 0;
}
This is the code as you can see I just declare array, and this is enough to stop working at the time of execution. If I downsize works, I've already tested it, but I need a gigantic array myself.
I'm using the windows 7 professional . IDE DEV-C ++; gcc compiler 4.8.1 32 bits