title: Is it possible to #include in a C++ class?
body: <p>I have this header file for C++ that's supposed to make file input easier to code, but I was it to be memory efficient.
  <br>
  I have a class in my header file that looks like this:</p>
  
  <pre><code>class FileInputOutput {
      #include &lt;fstream&gt;
  </code></pre>
  
  <p>But I'm not sure if it would include that anyways like the <code>#include</code> statements at the top, or if it would just include it when the class was called.
  <br>
  <br>
  Can anyone help me out?</p>