Skip to content

Commit

Permalink
danhnahh
Browse files Browse the repository at this point in the history
  • Loading branch information
danhnahh committed Mar 15, 2024
1 parent b52e80f commit 6c603b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdvProg_L3-HangMan/hangman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void updateSecretWord(string& secretWord, const char ch, const string& word)
void updateEnteredChars(const char ch, string& chars){
// TODO: append the character ch is in end of the text chars
chars.push_back(ch);
chars.pop_back();
chars.push_back(' ');
}

/***
Expand Down

0 comments on commit 6c603b0

Please sign in to comment.