Hi everyone,
I am trying to compile a c program with the following float declaration:
I compile just fine (gcc filename.c, no other arguments), but when my program gets to that line where it creates the variable, the program crashes.Code:int function(){ float M[256][256][9]; }
I am using CGG on Windows XP (this version: MinGW Distro - nuwen.net) and I get that "a.exe has encountered a problem and needs to close, please tell Microsoft about this blah blah".
Is there a limit of how big I can assign a memory space? If I declare "float M[256][256][7]" I get no issues, but changing that 7 to an 8 or a 9 crashes my program.
I reallyyyyyyy would like to be able to have that 9 in there, otherwise my code becomes much more of a chore to write.
And yes, I really do need to store 9 float attributes for each position in a 256x256 grid. Actually, I need 3 of these 3D-arrays of size [256][256][9] if possible.