When I test this code the program starts to loop at the first while and never stop, no matter what I enter. Is there something I'm doing wrong? If you need to know the variables I'm inputting are global variables in another file(Global.h)
That doesn't really help. When my code reaches the while, it keeps asking for the players weapon choice. Even if you choose in its selection, it repeats anyways. The ClearScreen class doesn't affect other classes like this one.