eclipse编译C⼀C++程序遇到 undefined reference to ‘atan’

2025-02-02 06:14:11
推荐回答(1个)
回答1:

编译的时候加上 -lm
如果还是不行确定你有那个math.h文件