C# vs C++ version of console hangman