I am running into trouble incorporating a While loop into my code for the Text-Adventure exercise in the beginner C++ lesson (https://www.codecademy.com/courses/learn-c-plus-plus/projects/build-a-text-adventure).
While I do not have my While loop in the code, I can save, access the terminal, and run the program just fine. However, as soon as I add in my While loop, the saving icon will not stop spinning, the terminal disconnects and connects to Codecademy several times, and I am unable to actually run it to see if it works or not. Here is the code with the While loop added https://gist.github.com/b89b02bf0b2f22a2492e2b0c8313f64c
I’m not sure if there is something wrong with the code or the website at this point. I’ve done several searches on While loops to assist and don’t understand what could be wrong with the code that would make the site not “like” it.
Appreciate any support from the community.