title: Constructor parameters
body: <p>Player.h</p>
  
  <pre><code>#ifndef HEADER_GUARD_PLAYER
  #define HEADER_GUARD_PLAYER
  
  #include &lt;string&gt;
  using std::string;
  
  
  //Parent player class
  class Player
  {
        private:        
        protected:
           string playerName; 
           int chipCount;
  
        public:
           //Constructor
           Player();
           Player(string name);
  
  }; 
  
  //Custom Players
  
  class PlayerSteven: public Player
  {
  };
  class PlayerBlake: public Player
  {
  };
  class PlayerTucker: public Player
  {
  };
  #endif
  </code></pre>
  
  <p>Player.cpp</p>
  
  <pre><code>#include "Player.h"
  #define STARTCHIPS 1500
  
  Player::Player()
  {
       chipCount = STARTCHIPS;
       playerName = "Default";          
  };
  Player::Player(string name)
  {
       playerName = name;
  };
  </code></pre>
  
  <p>Main.cpp</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include "Deck.h"
  #include "Player.h"
  #include &lt;string&gt;
  
  using namespace std;
  
  int main()
  {
      Deck deck;
      PlayerSteven steven = new PlayerSteven("Steven");
      PlayerBlake blake = new PlayerBlake("Blake");
      PlayerTucker tucker = new PlayerTucker("Tucker");
  
      deck.shuffle();
      int x = 0;
      int y = 0;
      for (int i = 0; i &lt; 52; i++)
      {
          deck.nextCard(x,y);
          cout &lt;&lt; x &lt;&lt; "," &lt;&lt; y &lt;&lt; endl;
      }
      system("PAUSE");
      return 0;
  }
  </code></pre>
  
  <p>Errors:</p>
  
  <p>11 C:\Users\Documents\temp\p_comp.cpp no matching function for call to `PlayerSteven::PlayerSteven(const char[7])' </p>
  
  <p>11 C:\Users\Documents\temp\p_comp.cpp no matching function for call to `PlayerSteven::PlayerSteven(const char[7])' </p>
  
  <p>note C:\Dev-Cpp\PROJECTS\Player.h:26                 PlayerSteven::PlayerSteven(const PlayerSteven&amp;) </p>
  
  <p>Anyone know how I can get this to compile?</p>
  
  <p>Thanks.</p>