I am attempting to create a poptart vending machine program and am getting an error in relation to what i think is a pointer. When the code is on the screen, i am not getting an issue however, when i attempt to build the code i get an error saying 'Syntax error: missing ';' before '*''
Code:
class State: public Transition
{
protected:
StateContext* currentContext;
public:
State(StateContext* Context);
};
Any suggestions would be appreciated. Cheers
StateContext?