[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: sin



you will need to link the maths library.


Rahul Jindal wrote:

> hi there
> i just tried this program, don't know abpot the other things but sin
> function is not compiling, i don't kow why?
>
> #include <math.h>
>
> main(int argc, char **argv)
> {
> printf("%d",sin(atoi(argv[1])));
> }
>
> didn't compile on my system, don't know why
> TIA
> r /\ |-| |_| |_
> =====================================================
> What a man has to go through for a piece of ass in this world is highly
> ridiculous
> =====================================================
>
> ---------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/