Hi
I have an array defined as
double temp[5] = {0,0,0,0,0};
and a function
double function(double *something);
i am trying to do
double x = function(temp);
but this only passes the first element of the array and not the complete array to the function. How can I correct this?
Thank you.
I have an array defined as
double temp[5] = {0,0,0,0,0};
and a function
double function(double *something);
i am trying to do
double x = function(temp);
but this only passes the first element of the array and not the complete array to the function. How can I correct this?
Thank you.
Comment