[prog] This segmetation fault makes no sence to me.

Random random832 at rcbooks.org
Sat May 31 12:06:15 EST 2003


On Friday, May 30, 2003, at 07:40  AM, Sue Stones wrote:

> Well that was fun, and gave me a sence of power to try a new tool, and 
> such a
> significnat one.
>
> But unfortunaly it hasn't helped me understand the problem, it has shown 
> that
> the problem was back at the main program in the line
>
>     andCo.add(smith);
>
> and since I can produce output from this function it seems to be on the
> return back to main that there is a problem.

you've probably overwritten the return address, then... check for places 
where you might be going one too far in a loop or a simple strcpy type 
thing.



More information about the Programming mailing list