Constructor Won't work

Every time I run the code, I get an error, when I delete the constructor function, the code has no errors, I have double, triple, and even quadruple checked, but it still doesn’t work. Help!

The error says you don’t have it declared. Do you not have

FBullCowGame();

In the public section of the class in the header file?

2 Likes

When I did declare it, I got errors, I will try it again though.

Hey, it worked, thanks!

Privacy & Terms