Re: Array size problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Joachim Matussek" <joachim.matussek@xxxxxx> wrote in message news:1389930990@xxxxxxxxx
> 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






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux