linux下数学函数

linux 下如果用数学函数比如sin,需要加上“-lm”参数编译,如:gcc test.c -lglut -lGLU -lGL -lm && ./a.out

原文地址:https://www.cnblogs.com/shenwenkai/p/6678973.html