4
我使用这些进口未定义参考`圆的 'C语言
#include <stdio.h>
#include <math.h>
和我越来越未定义的参考`一轮'这行:
double res = round(atof(nextVal));
NEXTVAL是从文件中读取的双精度值。
我正在使用Eclipse INDIGO。
我使用这些进口未定义参考`圆的 'C语言
#include <stdio.h>
#include <math.h>
和我越来越未定义的参考`一轮'这行:
double res = round(atof(nextVal));
NEXTVAL是从文件中读取的双精度值。
我正在使用Eclipse INDIGO。
在命令行中,您必须指定-lm
选项以gcc链接数学库。你必须在日食中找到如何做到这一点。