stack overflow in cygwin_nt-5.0

Max Bowsher maxb@ukf.net
Wed Nov 10 19:24:00 GMT 2004


Yu-Cheng Chou wrote:
> Hi,
> 
> I declared three double matrices in main function and it caused stack
> overflow.
> 
> double a[300][300],
>       b[300][300],
>       c[300][300];

Don't declare huge data structures on the stack.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list