how can I initialize 2D array of huge size 1000000x1000000?
I'm working on a cpp project in ubuntu with g++ compiler and I need to
create a matrix of size 1000000x1000000 = 10^12 elements whose entries are
boolean variables. But my g++ compiler is allowing me to allocate space to
only around 1000x1000 elements. How can I overcome this problem of
allocating space to this huge matrix?
No comments:
Post a Comment