title: How to fix 'PCH Warning: header stop not at file scope'
body: <p>I've set up my programs and header files as what I think is the correct way, but I keep getting the error mentioned in the title.</p>
  
  <p>I have tried searching for fixes for this issue, which most of them were simply adding ';' after the class definition in a header file. I've tried most all the fixes I could find with the same results.</p>
  
  <p>Here is the main program where the error is flagging:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;iomanip&gt;
  #include &lt;fstream&gt;
  #include "computeGross.h"
  #include "computeInsurance.h"
  #include "Employee.h" /*&lt;-----------------This is where the error flags*/
  using namespace std;
  
  int main()
  { }
  </code></pre>
  
  <p>And here is the header file that the error is flagging:</p>
  
  <pre><code>#ifndef EMPLOYEE_H
  #define EMPLOYEE_H
  #include &lt;string&gt;
  using namespace std;
  
  struct Employee
  {
      string name;
      double rate;
      double hours;
      double insurance;
      double social;
      double stateTax;
      double fedTax;
      double netPay;
      double grossPay;
  };
  
  #endif
  </code></pre>