title: C++ Heart, Spades, Clubs, Diamonds characters not showing up
body: <p>I need to create a card game for a school assignment and I am trying to display the heart, diamonds, spades, and clubs symbols in the output.</p>
  
  <p>The teacher told us to use char(3), char(4), etc but the output shows a question mark. I'm using Visual Studio 2017 on Windows 10.</p>
  
  <p>I am not too familiar with Unicode or ASCII stuff, if anyone could help me out, I still have 3 days to submit this assignment!! I'm a beginner</p>
  
  <p>Thank you</p>
  
  <p>//For COMP 218 Section EC (Winter 2017) - Concordia University</p>
  
  <pre><code>cout &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6) &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6) &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6) &lt;&lt; endl
      &lt;&lt; "\t \t Welcome to Shawn's Card Dealing Program" &lt;&lt; endl
      &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6) &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6) &lt;&lt; char(3) &lt;&lt; char(4) &lt;&lt; char(5) &lt;&lt; char(6);
  
  cout &lt;&lt; "RULES: \nTwo cards are dealt at a time. They are then compared. \nSince there are two decks of cards, you may have identital cards. \nI will tell you if they are the same or not" &lt;&lt; endl
      &lt;&lt; "or if they just have the same suit or rank. \nOnce I finish comparing the two cards, they are returned to the deck, the deck is reshuffled and two more cards are dealt. \n \n" &lt;&lt; endl
      &lt;&lt; "So how many pairs shall I deal? (1 to 15 max): \n &gt; ";
  
  while (!valid)
  {
      valid = true;
  
      cin &gt;&gt; loops;
  
      if (cin.fail() || loops &lt; 1 || loops &gt; 15)
      {
          cin.clear();
          cin.ignore();
          cout &lt;&lt; "Please enter an integer between 1 and 15:" &lt;&lt; endl &lt;&lt; "&gt; ";
          valid = false;
      }
  
  }
  
  int pairCount = loops;
  
  do
  {
      card1.genRandom();
      card2.genRandom();
  
  
      cout &lt;&lt; "Pair " &lt;&lt; setw(2) &lt;&lt; pairCount - loops + 1 &lt;&lt; " - ";
  
      card1.printCard();
      card2.printCard();
      cout &lt;&lt; endl;
  
      if (card1.sameCard(card2) == true)
      {
          cout &lt;&lt; "same card" &lt;&lt; endl;
          ident += 1;
      }
      else
      {
          if (card1.sameSuit(card2) == true)
          {
              cout &lt;&lt; "same suit" &lt;&lt; endl;
              sameSuit +=1;
          }
          if (card1.sameRank(card2) == true)
          {
              cout &lt;&lt; "same rank" &lt;&lt; endl;
              sameRank += 1;
          }
          if (card1.sameRank(card2) == false &amp;&amp; card1.sameSuit(card2) == false)
          {
              cout &lt;&lt; "both different" &lt;&lt; endl;
              different +=1;
          }
      }
  
      loops -= 1;
  } while (loops &gt; 0);
  
  cout &lt;&lt; "Identical: " &lt;&lt; ident &lt;&lt; endl;
  cout &lt;&lt; "Same Suit: " &lt;&lt; sameSuit &lt;&lt; endl;
  cout &lt;&lt; "Same Rank: " &lt;&lt; sameRank &lt;&lt; endl;
  cout &lt;&lt; "Both different: " &lt;&lt; different &lt;&lt; endl;
  </code></pre>
  
  <p>}</p>