Hello all. I am running XCode 1.5 on a PowerBook G4. I need a very large array, as part of my research code. When I attempt to run the following stripped-down code
#include <iostream>
int main (int argc, char * const argv[]) {
double x[250000];
return 0;
}
I get an error from Xcode saying "Executable has exited due to signal 11 (SIGSEGV)," a segmentation fault I think. If I decrease the size of the array to 100,000, then the array can be declared and the program runs. What can I do to declare a larger array? Thanks.