- Joined
- Apr 6, 2012
- Messages
- 1
- Reaction score
- 0
I'm getting this error on this line:
critter.Play();
In the Critter.h file the Play() function is as such:
int critter:: Play()
{
system("cls");
cout << "You play with your critter making it happier!" << endl;
}
And i declare Play() in the public: like this:
int Play();
How would i get rid of this error? Thanks.
critter.Play();
In the Critter.h file the Play() function is as such:
int critter:: Play()
{
system("cls");
cout << "You play with your critter making it happier!" << endl;
}
And i declare Play() in the public: like this:
int Play();
How would i get rid of this error? Thanks.