View Single Post
Oct31-09, 12:11 PM
Sci Advisor
PF Gold
Hurkyl's Avatar
P: 16,092
It would have helped if you indicated what line the error was at.

I notice the line
printf("%lf %lf %lf \n",obtainStatistics(pointco,n,&temp[p])); //%lf %lf
makes no sense....

But anyways, I didn't get the error you mentioned when I tried compiling your code....

But surely the error message is clear? You had an assignment, the right-hand side was of type double, and the left-hand side was of type double*.