title: How come the compiler asks for initializer before class constructor?
body: <p>I am creating a class called SelectionPage. Which essentially is a set of menues.</p>
  
  <p>However, when i compile the code, the compiler gives me the following error:</p>
  
  <pre><code>g++ C_Main.cpp C_HomePage.cpp C_SelectionPage.cpp C_MemberManagement.cpp -o Project
  C_SelectionPage.cpp:9:104: error: expected initializer before ‘SelectionPage’
  make: *** [Project] Error 1
  </code></pre>
  
  <p>Here is The first few lines of C_SelectionPage.cpp:</p>
  
  <pre><code>#include "H_SelectionPage.h"
  
  
  //Constructor for the SelectionPage class
  //It assigns "managing" which decides if the user
  //is a manager or not.
  SelectionPage::SelectionPage(
      int newPoints,
      string newManager,
      string newLoginName,
      string MemberFile)
          SelectionPage(
              int newPoints,
              string newManager,
              string newLoginName,
              string MemberFile)
      {
          points = newPoints;
          manager = newManager;
          loginName = newLoginName;
          flatMemberList.clear();
          //Create Object Governing Flat Members.
          memberList = MemberManagement temp(MemberFile);
  }
  </code></pre>
  
  <p>And here is the declaration of the constructor in the header file:</p>
  
  <pre><code>SelectionPage(
      int newPoints,
      string newManager,
      string newLoginName,
      string MemberFile);
  </code></pre>
  
  <p>Could someone please explain to me why i am getting an error?</p>
  
  <p>Thanks in advance.</p>