1、代码在编译时出现“illegal call of non-static member function”错误
程序代码如下:
//2.4 节 在CCalculation类中添加一个新的函数PI,用来计算常量π的值,其实现代码为:(程序在Calculation.cpp)
double CCa[......]
1、代码在编译时出现“illegal call of non-static member function”错误
程序代码如下:
//2.4 节 在CCalculation类中添加一个新的函数PI,用来计算常量π的值,其实现代码为:(程序在Calculation.cpp)
double CCa[......]