In order to set up a map of hidden words i ended up creating void HiddenWordBank(int32) and pulled out MyHiddenWord from reset. seen here:
I then made a function in main.cpp for asking the user to enter a number 3 - 7. seen here.
Afterwards, I went over to PrintIntro() and removed the BCGame.GetHiddenWordLength() as I placed GetGameDifficulty(); after PrintIntro(); and before PlayGame(); seen here (ignore nonsense )
My problem, I think, lies in the cin not clearing the buffer as we learned in a previous lesson. I did some research and found that int32 won’t work with getline(). I am wondering where to go from here. It works great other than the uglyness you see here:
My GitHub repo
edit: I am looking into using stoi or string to integer in order to use getline() then change to an integer.
HERE’S IT FINISHED
and running