forgive me if I'm being stupid, but I've been using C for about a week so bear with me....
I need to use a few pretty large arrays (highest would be about 256*256*256) of floats or doubles - most smaller than that though. But I keep getting errors when I define them.
If I just start a new program and put:
int main(int argc, char *argv)
the program crashes on loading. despite the fact that there is nothing actually being done to the arrays yet.
It's definitley not a problem with lack of memory (I got 450mb free while windows is running). this is a console C program in the bloodshed compiler.
I tried reducing the size to 512*512 and that worked, but crashed again when I added another large array.
I've tried the debug thingy in the bloodshed compiler (even thought there's not exactly a lot to debug) and it says.
"An Access Violation (Segmentation Fault) raised in you program"
anyone know what's going on/how I can solve it. I always though C was essentially limitless.....