New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

pow in objective-c

Post Reply New Thread Subscribe

Thread Tools

Member Since: Sep 15, 2009
Posts: 2
superMath is on a distinguished road

superMath is offline
I'm new here, and I'm in the middle of learning objective-c.
hope this is the right forum....

does anyone know how to call to the pow function? (like 2^7 , if I remember right, in c it was pow(x,y))

QUOTE Thanks

Member Since: May 02, 2009
Posts: 480
wmprice1240 has a spectacular aura about
Mac Specs: MBP 2.33 4GB: MacPro 8 Core 2.8, 16GB: MacMini 2.26 4GB: MacMin 2.53 4GB: iPhone3GS 32GB

wmprice1240 is offline
Hi, welcome to the forums.

I don't believe there is an equivalent function in Objective-C. However, there is nothing to prevent you from calling the C function from your Objective-C code as you have access to all the standard C routines/libraries etc.
QUOTE Thanks

Member Since: Sep 15, 2009
Posts: 2
superMath is on a distinguished road

superMath is offline
thanks, I didn't know that.
problem solved!
QUOTE Thanks

Post Reply New Thread Subscribe

« NSMutableArry and “EXC_BAD_ACCESS” | Installing Bluefish HTML Editor on Mac »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Objective C call main method ncohen OS X - Development and Darwin 1 06-23-2009 03:02 PM
New to Objective C - what is the problem with this? rb1383 OS X - Development and Darwin 1 04-22-2009 12:33 AM
question about objective C memory allocation thuffir OS X - Development and Darwin 3 11-18-2008 10:30 PM
CPU upgrades for Pow er MAc G3 nickskates4lyfe Apple Desktops 3 07-24-2007 05:55 PM
Cocoa, Objective C - where do I start? TheMonkey OS X - Development and Darwin 1 08-19-2006 07:25 AM

All times are GMT -4. The time now is 05:03 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?