I want to create 2d datastructure of [300][300], but I am getting stack overflow error.
Here is how I have defined,
typedef struct DST
{
float salary;
float x1;
float x2;
};
struct DST person[300][300];
I am getting an error for the above declaration.
but, if I declare struct DST person[300][70];
--> this is working fine
So, it is a memory handling issue, I am unable to solve it.
Software: Visual Studio 2010
Could anybody please help me out with this?