title: Want to know how to "reveal" a "hidden" string ( formatted like ****)
body: <p>So i want to create a kind of game. </p>
  
  <p>First I have a word (string) that the user has to guess.</p>
  
  <p>For example if we have the word "Code", it has to be formatted in the beginning like this "****" and the user has to guess the word.</p>
  
  <p>I have the following code :</p>
  
  <pre><code>char hidden_word[ ] = "CODE";
  char word2[ ] = "CODE";
  char user_character = 0;
  
  do 
    {
      printf("\nThe hidden word is : %s ", strset(hidden_word, '*') );
      printf("\nTry to guess it : ");
  
      user_character = read_char(); /// i created the read_char() function, it reads the input and automatically "UPPERCASE" it
  
    } while ( strchr (word2, user_character) == NULL );
  </code></pre>
  
  <p>This works perfectly.
  But my problem is that I don't know how to "reveal" the "hidden_word" depending on the user's input.
  For example if the user inputs "O" the program should say</p>
  
  <pre><code>"Nice try, the hidden word is now *O**"
  </code></pre>
  
  <p>Help is needed. Thanks </p>