logo       

Re: Runtime error, Segmentation fault.: msg#00033

lib.gsl.general

Subject: Re: Runtime error, Segmentation fault.


Am Freitag, den 09.11.2007, 15:27 +0100 schrieb Jo_Jo:
> Hi help-gsl,
>
> Please run these program. Runtime error, Segmentation fault. Why?

Pointers don't reserve space for the underlying variable. If you want a
pointer to an int, you must reserver space for an int.

Diff attached.

Thomas


Attachment: pointer.diff
Description: Text Data

_______________________________________________
Help-gsl mailing list
Help-gsl@xxxxxxx
http://lists.gnu.org/mailman/listinfo/help-gsl
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise