title: How to ask each player if they want another card
body: <p>Made a couple changes.. But still not working. Now what happens is if I Enter 'y' nothing happens program just freeze there, if i enter 'n', it continues the for loop. </p>
  
  <p>Here's what I have so far. Players are represented by the lines of my array and their hands are cols. <code>Cardtab</code> and <code>CardHandTab</code> is the wchar representing the cards they have EX: 1♥ and the rest is analog array containing the values of each card.</p>
  
  <p>Actually just realized they would all get a card no matter their answer since a do while checks condition after executing the code but that doesn't solve my problem..</p>
  
  <pre><code>void anotherCard(const wchar_t* CardTab[], int ValTab[], const wchar_t* CardHandTab[4][5], int ValHandTab[4][5])
  {
      for (int i = 0; i &lt; 4; i++)
      {
          char answer = 0;
          wcout &lt;&lt; "Player" &lt;&lt; i + 1 &lt;&lt; "Would you like another? y/n" &lt;&lt; endl;
          cin &gt;&gt; answer;
          while (answer == 'y' || answer == 'Y')
          {
              int x;
              do
              {
                  x = rand() % 51 + 0;
              } while (CardTab[x] == NULL);
  
              CardHandTab[i][3] = CardTab[x];
              ValHandTab[i][3] = ValTab[x];
              CardTab[x] = NULL;
              ValTab[x] = 0;
          }
      }
  }
  </code></pre>