help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Runtime error, Segmentation fault.


From: Thomas Weber
Subject: Re: [Help-gsl] Runtime error, Segmentation fault.
Date: Fri, 09 Nov 2007 16:24:52 +0100

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]