Confused

When trying to run the TripleX game, I ran into an error that I couldn’t solve. I have just finished adding in my Difficulty and LevelDifficulty. My screen shows that I have everything that Gavin has in his video but I always get this error:

triplex.cpp:65:8: error: use of undeclared identifier ‘bLevelComplete’

if (bLevelComplete)

^

1 error generated.

I am trying to make my level difficulty increase each time I enter the correct code.

Replied on Udemy, you have the if statement outside of the while loop.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms