In my header file, I have declared 2 public member files to be pure virtual functions like so
Header file
class Whatever
{
public:
virtual bool Update() = 0;
virtual bool ShouldBeVisible() = 0;
};
Implementation
bool Whatever::Update();
bool Whatever::ShouldBeVisible();
But when I try to compile, I keep an error that says: out-of-line declaration of a member must be a definition for Update and ShouldBeVisible. When I get rid of the semi colons in the implementation I get a different error that says expected ';' after top level declarator and out-of-line declaration of a member must be a definition for Update, and expected function body after function declarator for ShouldBeVisible.