Re: Using math.h
Re: Using math.h
- Subject: Re: Using math.h
- From: Andy Lee <email@hidden>
- Date: Wed, 14 Mar 2007 10:38:53 -0400
On Mar 14, 2007, at 10:22 AM, Nelson Santos wrote:
double a = 10;
double b = 3;
double c = pow(a, b);
But when compiling my app, I get a compile error "called object
'pow' is not a function".
I've added #import <math.h> to the top of my .m file. But still
nothing.
What you did works for me. I don't suppose you're declaring
something else called "pow" anywhere in your code?
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Using math.h (From: Nelson Santos <email@hidden>) |