0_0_19254249_22373.cpp
0_0_19254249_22373.cpp(4) : error C2365: “y1”: 重定义;以前的定义是“函数”
VC2013\INCLUDE\math.h(1001) : 参见“y1”的声明
0_0_19254249_22373.cpp(36) : error C2296: “+”: 非法,左操作数包含“double (__cdecl *)(double)”类型
0_0_19254249_22373.cpp(36) : error C2660: “add”: 函数不接受 2 个参数
0_0_19254249_22373.cpp(41) : error C2446: “>”: 没有从“double (__cdecl *)(double)”到“int”的转换
没有使该转换得以执行的上下文
0_0_19254249_22373.cpp(41) : error C2040: “>”:“int”与“double (__cdecl *)(double)”的间接寻址级别不同
0_0_19254249_22373.cpp(41) : error C2664: “void std::swap(std::exception_ptr &,std::exception_ptr &)”: 无法将参数 1 从“double (__cdecl *)(double)”转换为“std::exception_ptr &”
0_0_19254249_22373.cpp(42) : error C2296: “+”: 非法,左操作数包含“double (__cdecl *)(double)”类型
0_0_19254249_22373.cpp(42) : error C2660: “sum”: 函数不接受 1 个参数
0_0_19254249_22373.cpp(46) : error C2296: “+”: 非法,左操作数包含“double (__cdecl *)(double)”类型
0_0_19254249_22373.cpp(46) : error C2660: “sum”: 函数不接受 1 个参数
0_0_19254249_22373.cpp(46) : error C2664: “int sum(int,int)”: 无法将参数 2 从“double (__cdecl *)(double)”转换为“int”
没有使该转换得以执行的上下文
0_0_19254249_22373.cpp(48) : error C2296: “+”: 非法,左操作数包含“double (__cdecl *)(double)”类型
0_0_19254249_22373.cpp(48) : error C2660: “add”: 函数不接受 2 个参数
0_0_19254249_22373.cpp(52) : error C2296: “+”: 非法,左操作数包含“double (__cdecl *)(double)”类型
0_0_19254249_22373.cpp(52) : error C2660: “sum”: 函数不接受 1 个参数
0_0_19254249_22373.cpp(52) : error C2664: “int sum(int,int)”: 无法将参数 2 从“double (__cdecl *)(double)”转换为“int”
没有使该转换得以执行的上下文
0_0_19254249_22373.cpp(55) : error C2659: “+=”: 作为左操作数
0_0_19254249_22373.cpp(58) : error C2664: “void add(int,int,int)”: 无法将参数 2 从“double (__cdecl *)(double)”转换为“int”
没有使该转换得以执行的上下文
|