Ive had searched on google but haven't found anything usefull. Basicly what im doing is trying to make a hangman game in c++ . Im doing it for a challenge to see how much have i learned. So when i was writing this game i came across one problem.. How to hide a word that user has entered? For example: "Enter a secret word: " and user lets say writes "hello" and when hes inputing this word in a console it would display "***** " by replacing each letter with a "*". So how can i do that? Do a loop? Joke !That would take some time by replacing all letters from ABC to *
And as always, sorry for poor english!