2008-05-12 01:45:03     about pow( ) and log10( ) function

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-05-12 01:45:03     about pow( ) and log10( ) function

sj tian (CHINA)

Message: 55728   

 

hi, all

 

I want to use pow( ) and log10( ) function, I include <math.h> file in my application, but when compiling , the sysytem show

 

pow( ) and log10( ) function  is undefined.

 

How to use the two function.   THANKS!

QuoteReplyEditDelete

 

 

2008-05-12 01:55:23     Re: about pow( ) and log10( ) function

Vitja Makarov (RUSSIAN FEDERATION)

Message: 55729   

 

You should to link your program agains math library, -lm

 

vitja.

 

 

QuoteReplyEditDelete

 

 

2008-05-12 02:42:00     Re: about pow( ) and log10( ) function

sj tian (CHINA)

Message: 55730   

 

Thanks!

Attachments

    Outcomes