Static memory space is generally very limited, if you want to create large array sizes then you need to use dynamic memory.
__int64 *array = new __int64[2000000];
But be sure to delete the array afterwards
delete []array;
array = NULL; // to make sure you do not use the pointer
Chris
Last edited by Freaky_Chris; Dec 29th, 2008 at 3:59 pm.
Knowledge is power -- But experience is everything