Guest
Login
跳过导航链接

Compile Error:

  
(14) : error C2668: “pow”: 对重载函数的调用不明确
        VC8\include\math.h(489): 可能是“double pow(double,int)”
        VC8\include\math.h(527): 或“float pow(float,int)”
        VC8\include\math.h(575): 或“long double pow(long double,int)”
        试图匹配参数列表“(const int, int)”时
(14) : error C2668: “pow”: 对重载函数的调用不明确
        VC8\include\math.h(489): 可能是“double pow(double,int)”
        VC8\include\math.h(527): 或“float pow(float,int)”
        VC8\include\math.h(575): 或“long double pow(long double,int)”
        试图匹配参数列表“(const int, int)”时
(32) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
(32) : error C2143: 语法错误 : 缺少“,”(在“:”的前面)
(32) : error C2530: “point”: 必须初始化引用
(32) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
(33) : error C2664: “distance”: 不能将参数 2 从“const int”转换为“const Point &”
        原因如下: 无法从“const int”转换为“const Point”
        无构造函数可以接受源类型,或构造函数重载决策不明确
(36) : error C2679: 二进制“=”: 没有找到接受“const int”类型的右操作数的运算符(或没有可接受的转换)
        (10): 可能是“Point &Point::operator =(const Point &)”
        试图匹配参数列表“(Point, const int)”时

  

Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
682