0_0_23663163_16165.cpp
0_0_23663163_16165.cpp(6) : error C2365: “y1”: 重定义;以前的定义是“函数”
VC2013\INCLUDE\math.h(1001) : 参见“y1”的声明
0_0_23663163_16165.cpp(19) : error C2446: “>”: 没有从“double”到“double (__cdecl *)(double)”的转换
没有使该转换得以执行的上下文
0_0_23663163_16165.cpp(19) : error C2440: “>”: 无法从“double”转换为“double (__cdecl *)(double)”
0_0_23663163_16165.cpp(20) : error C2065: “y”: 未声明的标识符
0_0_23663163_16165.cpp(25) : error C2446: “>”: 没有从“double (__cdecl *)(double)”到“double”的转换
没有使该转换得以执行的上下文
0_0_23663163_16165.cpp(25) : error C2440: “>”: 无法从“double (__cdecl *)(double)”转换为“double”
0_0_23663163_16165.cpp(28) : error C2664: “double Max(double,double)”: 无法将参数 1 从“double (__cdecl *)(double)”转换为“double”
上下文不允许消除重载函数的歧义
|