0
有主文件(其中错误发生)是:不能调用成员函数没有对象
#include "classe_Segundo.h"
#include <iostream>
using namespace std;
CSegundo a;
int main(){
cout << "Equacao de Segundo Grau\n\n";
cin >> a;
CSegundo::delta(a);
return 0;
}
和错误:
Line 12: Cannot call member function `void CSegundo::delta(CSegundo)' without object
为什么,即使我已经创建happenning的反对吗?