#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSync();
int TheArray [50000][8];
int Count1 = 0;
for(int i = 100; i < 110; i++)
{
dbCLS ();
dbText (10,10,dbStr(i));
dbText (10,30,"Ok so I am Here");
dbSync ( );
dbWait (2000);
TheArray [100][1]=4;
TheArray [i][1]=4; <--------- This Line
}
}
Ok I get an error
Quote: "Unhandled exception at 0x00429c37 in Test2.exe: 0xC00000FD: Stack overflow."
The code doesnt reach this point, as non of the text is printed. If you delete this line, you can see that TheArray can be accessed, and the i exists.
Anyone explain whats happening?
H&K