btbass said:That is a big array!
What is it an array of? If it is an array of int, 2 bytes per int, thats 1000 * 1000 * 1000 * 2 bytes of memory.
Does your machine have > 2Gig of ram?
Try a smaller array, if that works, the problem is size!
boy said:how can i have a big array like  in c++, i use gcc, but i get run time error