c++ : Receiving a lot of errors. Simple inheritance resulting in a confusing amount of errors
<p>Below are my 3 cpp files and 2 header files. I received an astronomical amount of errors and most are very unclear. I am very new to c++ and have a C#/Java background.</p>

<p>Its clear to me that the below are likely syntax errors. Thanks for the help in advance.</p>

<p>Main.cpp:</p>

<pre><code>#include &lt;iostream&gt;
#include "B.h"
#include "S.h"

using namespace std;

int main() {
    B b;
    S s("Jon");
    return 0;
};
</code></pre>

<p>B.h:</p>

<pre><code>#ifndef B_H
#define B_H

class B {
    public:
        B();
};

#endif
</code></pre>

<p>B.cpp:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include "B.h"
#include "S.h"

using namespace std;

class B {
    public:
        B() {}
};
</code></pre>

<p>S.h:</p>

<pre><code>#ifndef S_H
#define S_H

class S: public B {
    public:
        S(string name);
}
#endif
</code></pre>

<p>S.cpp:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include "B.h"
#include "S.h"

using namespace std;

class S: public B {

    private:
        string s;

    public:
        S(string name) {
            s = name;
        }
};
</code></pre>

<p>Here is my huge list of errors. It's a little overwhelming.</p>

<p><a href="https://i.stack.imgur.com/PNjSO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PNjSO.png" alt="enter image description here"></a></p>