title: Setting a value to a vector array value
body: <p>Basically I want to set 5 strings to the value of 5 values within a vector array (sorry if that's hard to understand, new to C++) I want to set string card1 = deck[0], card2 = deck[1]… etc here's the code I have for this specific instance, I can always add more code from my project if that would help just ask and I will add it ASAP. </p>
  
  <pre><code>{   hand.push_back(deck[0]);
  deck[0] == fcard;
  fcard = card1;
  hand.push_back(deck[1]);
  deck[1] == scard;
  scard = card2;
  cout &lt;&lt; card2;
  }
  </code></pre>