您的位置:首页 > 其它

这算是什么东西!!!

2011-05-21 21:30 162 查看
#include<math.h>

#include<stdio.h>

main()

{

double x,s;

printf("input number:/n");

scanf("%lf",&x);

s=sin(x);

printf("sine of %lf is %lf/n",x,s);

}

-------------------------------------------------------------------------------------------------------------------------------------

/tmp/ccVehrG6.o: In function `main':

t1-2.c:(.text+0x32): undefined reference to `sin'

collect2: ld returned 1 exit status

—————————————————————————————————————————————

07年的书,11年的编译器,呜呜…………
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: