I hope some one can help me, i\'m trying to create an int[400000000] (400 millions) array on my application using visual c++ 2010 but it generates an overflow error The same cod
Perhaps sparse matrices are of use in your application. This concept is used when dealing with big matrices which have a lot of 0 entries, which can be the case in quite a lot of applications.
And by the way, you do not gain anything by storing such a huge amount of data on the heap. Consider, that your CPU cache has perhaps 12 MB! At least use some intelligent dynamic memory allocation mechanism.