Static memory space is generally very limited, if you want to create large array sizes then you need to use dynamic memory. Help with Code Tags C++ Syntax (Toggle Plain Text) __int64 *array = new __int64[2000000]; __int64 *array = new __int64[2000000]; But be sure to delete the array afterwards Help with Code Tags C++ Syntax (Toggle Plain Text) delete []array;array = NULL; // to make sure you do not use the pointer delete []array; array = NULL; // to make sure you do not use the pointer Chris
__int64 *array = new __int64[2000000];
delete []array;array = NULL; // to make sure you do not use the pointer