Original Post
I'm having a very annoying and weird problem with arrays. I've never had this before. I'm starting a fresh brand new source file in DevC++ 4.9.8.10, in WindowsXP. I enter the following code:
int main(int argc, char *argv[])
{
int somearray[640][480][2];
return 0;
}
and if I compile and run it, I get the "sent error report to microsoft" window! If I make the array smaller, e.g. [320][240][2] I DONT get the error report window, then it behaves normally: I see the console window popping up very shortly and then closing again. What's going on here, is there something wrong with Windows that it can't handle too large arrays anymore? I'm very sure that I used very large arrays for a very long time already and never had problems with them before...