gcc的问题
linux吧
全部回复
仅看楼主
level 1
nantianzeng 楼主
小弟,发现在windows下可调试的程序在linux下不行如下:#include
#include
main(){printf("\n%f",sin(0.707));}编译不了。提示sin函数有问题?在windows下的tc一点问题都没有。请教?
2005年10月06日 08点10分 1
level 0
-lm
2005年10月06日 09点10分 2
level 0
该把数学函数的链接库链接进去。
2005年10月06日 10点10分 3
1