Problem using header in Xcode

*** In Xcode ***

In Lecture 28 of Section 2, I am trying to use the MyCurrentTry and MyMaxTries variables defined in FBullCowGame.hpp. When I build the program the GetCurrentTry and GetMaxTries functions give an undeclared identifier error for their respective variables. I have included FBullCowGame.hpp in both FBullCowGame.cpp and main.cpp.

FBullCowGame.hpp:

FBullCowGame.cpp:

main.cpp:

EDIT:
I found my mistake, I didn’t have FBullCowGame:: before GetMaxTries() and GetCurrentTry() in FBullCowGame.cpp