Re: Help with sqrt() and #include <math.h> and what -l???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Depends on what OS.
If its linux (or some other unix), the manpages for the function should tell you.
If its something else (e.g. mac, windows, etc), I dont know.
But for all the math functions, use -lm




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux