tags:

views:

136

answers:

2

I am using the exp and pow functions in a program for iPhone, which would use the math.h library if I was programming in C. What is the equivalent I need to use in iPhone SDK so my two functions will work properly?

+2  A: 

You can continue you use math.h :)

Just

#include <math.h>
nick
wouldn't it be #include"math.h" or no?
HollerTrain
No, it's `#include <math.h>` since it's a standard system header, part of iPhone's BSD heritage.
slebetman
sweet ok. then i guess my code is wrong then cuz it's not giving right answer :) Ty so much! Glad importing the math library for my two functions won't be an ordeal :)
HollerTrain