Associate
Im trying to compile my program and I have no idea what is causing this error.
I have a class "Button" with a constructor:
Button::Button(void)
{
// Stuff
}
In another class called "Interface" I include the above file and create 4 buttons using:
Button button1;
Button button2;
Button button3;
Button button4;
Im getting this error when compiling:
error: 'Button' is used as a type, but is not defined
What can be causing this error?
THx
I have a class "Button" with a constructor:
Button::Button(void)
{
// Stuff
}
In another class called "Interface" I include the above file and create 4 buttons using:
Button button1;
Button button2;
Button button3;
Button button4;
Im getting this error when compiling:
error: 'Button' is used as a type, but is not defined
What can be causing this error?
THx
Last edited: