有问题,找男人。 man cos NAME cos, cosf, cosl -- cosine functions LIBRARY Math Library (libm, -lm) SYNOPSIS #include <math.h> double cos(double x); float cosf(float x); long double cosl(long double x);
[quote=引用 8 楼 yishuangshou1 的回复:] 如果我是直接make编译出现pow没被定义怎么加-lm啊?
如果我是直接make编译出现pow没被定义怎么加-lm啊?
69,382
社区成员
243,073
社区内容
加载中
试试用AI创作助手写篇文章吧