19 Feb
2004
19 Feb
'04
06:35
#include
#include main() { float a, b;
b = pow(a, 3); printf("Result is : %f\n", b); } when i try to compile it using gcc, it keeps telling me an error like this ------> undefined 'pow' in main ....bla bla bla anyone can help?
Works for me. Are you putting "-lm" in your compile line to pull in the math library? --
eatapple core dump