C++ Class using header and implemenation files
<p>I've put together a simple C++ "Hello World" program to practice; unfortunately, upon compilation I get a few errors:</p>

<blockquote>
  <p>expected ')' before fName</p>
  
  <p>error: prototype for 'HelloWorld::HelloWorld(std::string, std::string)' does not match any in class 'HelloWorld'</p>
</blockquote>

<p>Below is my code, can anyone help me understand what I'm missing/overlooking? Thanks. </p>

<p><strong>Header:</strong></p>

<pre><code>  1 #ifndef HELLOWORLD_H_ 
  2 #define HELLOWORLD_H_
  3 #include &lt;string&gt;
  4 
  5 class HelloWorld
  6 {
  7     public:
  8         HelloWorld();
  9         HelloWorld(string fName, string lName);
 10         ~HelloWorld();
 11 };
 12 
 13 #endif
</code></pre>

<p><strong>Implementation:</strong></p>

<pre><code>  1 #include &lt;iostream&gt;
  2 #include &lt;string&gt;
  3 #include "HelloWorld.h"
  4 
  5 using namespace std;
  6 
  7 HelloWorld::HelloWorld()
  8 {
  9     cout &lt;&lt; "Hello, anonymous!";
 10 }
 11 
 12 HelloWorld::HelloWorld(string fName, string lName)
 13 {
 14     cout &lt;&lt; "Hello, " &lt;&lt; fName &lt;&lt; ' ' &lt;&lt; lName &lt;&lt; endl;
 15 }
 16 
 17 HelloWorld::~HelloWorld()
 18 {
 19     cout &lt;&lt; "Goodbye..." &lt;&lt; endl;
 20 }
</code></pre>
