News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

problem at declare bidimensional array

Started by iscneo, February 19, 2013, 11:44:31 PM

Previous topic - Next topic

iscneo

hi community

I new user in codeblocks,  itry to declare tree didimensional array, and to buidl and run the program terminated in win7. I saw that only I can declare one array,

example:
int array1[512][715];  its ok at momento to run

example2:
int array1[512][715];
int array2[512][715];
int array3[512][715];

programa interrupted.

Is there at limit in length to arrays?

thanks


jarod42

Unrelated to C::B

The only limit is the memory (search on web info about stack/heap):
The size of int[512][715] is 1430 Ko (~= 1.4Mo)