I want to use a function from a class.
But that class Gameplay
is defined in another file.
I tried to declare it like this.
class Gameplay;
bool Gameplay::UpdateBF(MPlayer *p);
The first line went alright. but the second line had a problem like
declaration of 'bool Gameplay::UpdateBF(MPlayer*)' outside of class is not definition [-fpermissive]
I need that class and functions in both files.
What should I do?