Simple C++ Card Program. Unknown Error
<p>Ok so I am new to C++ and trying to write I simple program that is a deck of cards. But I get the errors: "unresolved externals". I have a feeling it has something to do with the instantiation in the constructor. A quick look would be appreciated.</p>

<pre><code>#include "Card.h"
#include "Deck.h"

Deck:: Deck()
{
  this -&gt; currentCard=0;

  this -&gt; index = 0;

    for(int i=0;i&lt;4;i++)
    {
        for(int j =0; j &lt; 13;j++)
       {
          deck[index].setVal(i);
      deck[index].setSuit (j);
          index++;
        }
    }
 }


void Deck::shuffle()
{
  //implementation
  }
Card Deck:: dealCard()
{
  //implementation
   }


int main (){}
</code></pre>

<p>my header file is: </p>

<pre><code>#include "Card.h"

class Deck
{
public:
Deck();
void shuffle();
Card dealCard();




private:
Card deck [52];
int currentCard;
int index;
};
</code></pre>
