pow?
 Posted: Thu Jun 09, 2011 5:42 pm
Posted: Thu Jun 09, 2011 5:42 pmWhat does the pow command do, and how can I use it?
			 Posted: Thu Jun 09, 2011 5:42 pm
Posted: Thu Jun 09, 2011 5:42 pm Posted: Thu Jun 09, 2011 6:22 pm
Posted: Thu Jun 09, 2011 6:22 pmpow: Returns base raised to the exp power (base exp). A domain error may occur if base is zero and exp is less than or equal to zero. It will also happen if base is negative and exp is not an integer. A range error is possible.
double pow(double base, double exp);
pow(2, 2); Posted: Thu Jun 09, 2011 6:23 pm
Posted: Thu Jun 09, 2011 6:23 pm Posted: Thu Jun 09, 2011 6:50 pm
Posted: Thu Jun 09, 2011 6:50 pm This will be exellent as a score multiplyer for the game
 This will be exellent as a score multiplyer for the game  thanks guys
 thanks guys Posted: Thu Jun 09, 2011 9:42 pm
Posted: Thu Jun 09, 2011 9:42 pmsavvy wrote:can also be used if you want to get the square of a number... "pow(int,2);"

 Posted: Thu Jun 09, 2011 11:58 pm
Posted: Thu Jun 09, 2011 11:58 pm