Array size problem
Alex Vinokur
alexvn@connect.to
Tue Jul 20 09:48:00 GMT 2004
"Joachim Matussek" <joachim.matussek@web.de> wrote in message news:1389930990@web.de...
> Hello,
>
> when i try to declare a big float array within a function my program crashed. Smaller arrays work well.
>
> Example:
>
> float array[70000][100];
>
> MinGW-3.1.0-1
> Windows 2000 Prof SP4
>
> Thx for your help,
>
> Joachim Matussek
>
Use `malloc' to create big array.
`malloc' returns a pointer to the newly allocated space, if successful; otherwise it returns `NULL'.
--
Alex Vinokur
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
More information about the Gcc-help
mailing list