|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
pow command doens't like variables?
It gives me a whacked out #er when I try to find the power of two variables in math.h:
p=pow(p,c); doesn't like that at all, why not? By the way..the variables are almost definately containing decimals. -andy
__________________
hmmm... Last edited by andy3109 : May 14th, 2003 at 08:54 PM. |
|
#2
|
||||
|
||||
|
i thought the power had to be an integer?
|
|
#3
|
||||
|
||||
|
nah..it works if you manually type in decimal numbers.
|
|
#4
|
||||
|
||||
|
nevermind..Im an idiot..i was at fault not the function. Thanks to all that read.
-andy |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > pow command doens't like variables? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|