Re: Segmentation Fault
"pembed2012" <once@was.enough.invalid> wrote in message
news:jorcqt$72h$1@speranza.aioe.org...
> void
> srtn (int atm[10], int ctm[10])
> {
> int rng = 0;
> int qu[15];
> qu[size] = j;
> qu[size + 1] = -1;
'size' gets to 16 at this point; the upper bound of qu is 14.
At least, when called with both atm[] and ctm[] set to all zeros. Does it
depend on these having sensible data for it to work? In that case you might
post some expected input.
--
Bartc
|