Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
problem at declare bidimensional array
(1/1)
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)
Navigation
[0] Message Index
Go to full version