Propably you've declared the same name of array f ?


2014-05-22 12:44 GMT+02:00 basti_b <der_ich@users.sf.net>:

Hi,

I try to use a large double array, but here seems to be some overflow if I make it too large:

#include <stdio.h>
int main()
{
    double f[1000000];       // produces crash
    double f[100000];        // works fine    
}

What's my problem? Is this supposed to be like that and if so, how can I use larger arrays?

Thanks,
basti_b


crash because of double f[1000000]


Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/dev-cpp/discussion/48211/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/