View Single Post
Oct31-09, 12:11 PM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
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*.