1
I have the following problem, when I define a matrix that is very large, for example: int matriz[2000][2000]
, compile and run, the program stops working. I tested only on 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 matrix, and that’s enough to stop working at the time of execution. If I decrease the size works, I’ve tested it, but I need a gigantic matrix even.
I’m using the windows 7 professional. IDE DEV-C++; gcc compiler 4.8.1 32 bits
'#include <stdio. h> int main() { int matrix[2000][2000]; Return 0; }'
– Matheus
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero