title: Cannot Access Memory at Address c++
body: <p>In gdb, I'm getting a "Cannot access memory at address [ ]" The program, at the moment, runs fine but I'm perplexed why I cannot access it right. </p>
  
  <p><a href="http://hastebin.com/wulomoqimu" rel="nofollow">http://hastebin.com/wulomoqimu</a> - main.cpp</p>
  
  <p><a href="http://hastebin.com/hahosuruhe" rel="nofollow">http://hastebin.com/hahosuruhe</a> - player.h</p>
  
  <p>These are, I believe the relevent files. </p>
  
  <pre><code>    *(playerNames+i) = (players+i) -&gt; name;
      *(playerCards+i) = (players+i) -&gt; hand;
      *(playerScores+i) = (players+i) -&gt; score;
  </code></pre>
  
  <p>And some lines I'm not sure about. Thanks for any help.</p>