On Friday, Oct 31, 2003, at 23:35 US/Eastern, David Brown wrote:


{
        int labels[20];
        int names[10000];
        float num[10000];

These variables in main are probably the cause of the overflow, not the static ones. You might just try declaring 'names' and 'num' to be static, but I wouldn't expect the sizes given to overflow the stack.

If I try a program similar to what you've given, it doesn't cause any
overflows.


That's because I should have written:


int names [20][10000];
float num [20][10000];


Anyway, see my reply to Charles Lepple for a solution.


Thanks for the input!


- Koen.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to