0_0_38863039_3569.cpp
0_0_38863039_3569.cpp(21) : error C2668: “sqrt”: 对重载函数的调用不明确
VC2013\INCLUDE\math.h(1251): 可能是“long double sqrt(long double) throw()”
VC2013\INCLUDE\math.h(1135): 或 “float sqrt(float) throw()”
VC2013\INCLUDE\math.h(521): 或 “double sqrt(double)”
尝试匹配参数列表“(int)”时
0_0_38863039_3569.cpp(40) : error C2556: “void main(void)”: 重载函数与“int main(void)”只是在返回类型上不同
0_0_38863039_3569.cpp(3) : 参见“main”的声明
0_0_38863039_3569.cpp(40) : error C2371: “main”: 重定义;不同的基类型
0_0_38863039_3569.cpp(3) : 参见“main”的声明
0_0_38863039_3569.cpp(57) : error C2668: “sqrt”: 对重载函数的调用不明确
VC2013\INCLUDE\math.h(1251): 可能是“long double sqrt(long double) throw()”
VC2013\INCLUDE\math.h(1135): 或 “float sqrt(float) throw()”
VC2013\INCLUDE\math.h(521): 或 “double sqrt(double)”
尝试匹配参数列表“(int)”时
|