Hi people,
I am writing a code to do some matrix manipulation stuff.
like replication of a matrix in a bigger matrix vertically and horizontally, or putting some elements on a specific diagonal.
The problem is that when the size of 2-D array goes to 290, the program crashes. The code is compiled but when I try to run it...ooops!
It says:
Unhandled exception at 0x63340a97 in FirstRun.exe: 0xC00000FD: Stack overflow.
I am using Visual C++ 2008 Express edition (which is a free compiler).
This is the declaration in my code:
const int G=290;
const int L=3;
float ReplicatedMat[G+1][L];
Is this problem because of the size of the array?
Program works correctly when G=280...
What do you suggest me to do?!