title: "Incomplete type not allowed " when creating std::ofstream objects
body: <p>Visual Studio Throws this Strange Error:</p>
  
  <blockquote>
    <p>Incomplete type not allowed</p>
  </blockquote>
  
  <p>When I try to create an std::ofstream object.  Here is the code I wrote inside a function.</p>
  
  <pre><code>void OutPutLog()
  {
       std::ofstream outFile("Log.txt");
  }
  </code></pre>
  
  <p>whenever it encounters this Visual Studio throws that Error.  Why This Happens?</p>