摘要: 明明已经include了math.h,还是提示没有sqrt和floor等各种数学函数,解决办法是显式制定要链接libm数学库:gcc -o target target.c -lm-lm一定要放最后,否则编译失败 阅读全文
posted @ 2013-12-03 01:11 WarBean 阅读(406) 评论(0) 推荐(0) 编辑