title: Using the Standard Template Library with Visual Studio 4.0
body: <p>I am trying to compile some code using version 4.0 of Visual C++ Studio.</p>
  
  <p>I understand that I need to use the standard template library for this code, here is where the compiler stops with an error:</p>
  
  <pre><code>#include &lt;fstream&gt;
  </code></pre>
  
  <p>fatal error C1083: Cannot open include file: 'fstream': No such file or directory</p>
  
  <p>Looking at the compiler install disk the STL files are not installed with the compiler, but I found the subdirectory where they are on the install disk. I have never used the STL and am not sure where exactly to place the files. For now I have placed them in a subdirectory of my source files and added that directory to Build->Settings->Resources->Additional Resource Include Directories. Also note there is no file named fstream or fstream.h in the STL directory.</p>
  
  <p>In the read.me is this note:</p>
  
  <p>(1) STL is the container, iterator, algorithm part of the C++ standard 
      library, it is not the complete standard library. (I/O streams, strings,
      etc. are not included in this package.)</p>
  
  <p>So I am a bit confused - do I need to get additional source files somewhere, or how should I proceed? Thanks for any help!</p>