Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2D array of big size

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I want to create a 2D array of float (float matrix[sizeA][sizeB]). The problem appears when sizeA*sizeB exceedes 16000 i.e. when I have 'float matrix[150][150]' of bigger size. I suspect that it has something to do with an array size being of type 'const int'. Any ideas how to overcome this problem? I'm using MS VC++.

Thanks
Eduonis

 
sveix,
On my VC++ 6.0 does work even
float matrix[8000][8000];
What compiler do you use?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top