There's the main file (where the error is occurring):
#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;
}
And the error:
Line 12: Cannot call member function `void CSegundo::delta(CSegundo)' without object
Why is that happenning even if I've created the object up there?