Hello,
I'm trying to process large amounts of data, so I've set up a series of arrays to achieve this.
However, I notice that my program crashes when I try to create an array of floats with more than 500,000 elements.
When I try to run a compiled program with this in it:
float myarray [600000];
I get an exception "your program has stopped working" message.
The size of such an array is almost exactly 2MB, so I suspect there is some artificial restriction on array sizes that I am not aware of. I am running windows 7 64bit with 8GB of ram, using dev-C++ bloodshed.
Pointer is pointing to an array of mystructs. If you want to access the ith element, you don't need the extra *, the [] already is dereferencing it for you.