E
el prinCipante
I'm getting tired of the following error message.
Compiler Error message : Error: Need explicit cast to convert
from: float
to: float *
I am trying to use a routine from the Numerical Recipes library called
amebsa.c. The routine requires several parameters of the following
form. *iter, **p, *yb.... . How does one initialize these variables?
If I declare them as pointer (in this case, *yb and *iter) the
compiler still tells me that it needs an explicit cast to covert the
variables from: float to: float *.
Surprisingly the compiler seems to accept the variable defined as **p,
which I initialized that way (float **P
additionally I don't know how to use void functions!! Where is the
result of the routine being stored?
Since this the basis of my thesis, I would really be grateful for any
ideas or suggestions!!!
Thanks folks
Compiler Error message : Error: Need explicit cast to convert
from: float
to: float *
I am trying to use a routine from the Numerical Recipes library called
amebsa.c. The routine requires several parameters of the following
form. *iter, **p, *yb.... . How does one initialize these variables?
If I declare them as pointer (in this case, *yb and *iter) the
compiler still tells me that it needs an explicit cast to covert the
variables from: float to: float *.
Surprisingly the compiler seems to accept the variable defined as **p,
which I initialized that way (float **P
additionally I don't know how to use void functions!! Where is the
result of the routine being stored?
Since this the basis of my thesis, I would really be grateful for any
ideas or suggestions!!!
Thanks folks