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?
wouldn't it be #include"math.h" or no?
HollerTrain
2010-01-10 03:58:16
No, it's `#include <math.h>` since it's a standard system header, part of iPhone's BSD heritage.
slebetman
2010-01-10 04:04:05
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
2010-01-10 04:11:52