title: Visual Studio 2010 can't locate <iostream>
body: <p>I just installed Visual Studio 2010 and I have a feeling something went pretty awry while I was installing it.  I have the following code return an error stating that it can't find the &lt;iostream&gt; file.  I looked in the includes folder (C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include) and I only saw 4 files (omp.h, pgobootrun.h, srv.h, wmiatlprov.h).  I'm not sure if that's normal, but I'm 99% sure it's not. </p>
  
  <p>Here's my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "Hello, World!";
      return 0;
  }
  </code></pre>
  
  <p>Which returns the following errors:</p>
  
  <pre><code>1&gt;------ Build started: Project: Test2, Configuration: Debug Win32 ------
  1&gt;Build started 06/11/2012 0:31:05.
  1&gt;PrepareForBuild:
  1&gt;  Creating directory "c:\users\jake\documents\visual studio 2010\Projects\Test2\Debug\".
  1&gt;InitializeBuildStatus:
  1&gt;  Creating "Debug\Test2.unsuccessfulbuild" because "AlwaysCreate" was specified.
  1&gt;ClCompile:
  1&gt;  Test2.cpp
  1&gt;c:\users\jake\documents\visual studio 2010\projects\test2\test2\test2.cpp(2): fatal error C1083: Cannot open include file: 'iostream': No such file or directory
  1&gt;  stdafx.cpp
  1&gt;c:\users\jake\documents\visual studio 2010\projects\test2\test2\stdafx.h(10): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
  1&gt;  Generating Code...
  1&gt;
  1&gt;Build FAILED.
  1&gt;
  1&gt;Time Elapsed 00:00:00.65
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>No matter how many Google searches I make I can't figure out how to resolve the issue.  Any help is appreciated.  If any more detail is needed, I can provide anything required for solving this, thank you.</p>
  
  <p><strong>EDIT 1:</strong> I'm not using a precompiled header. I downloaded it from the MSDN website on a page I can't post here because it's tied to the account, but I definitely didn't run out of room (I have around 650 GB free on my hard drive).  Yes, I tried re-installing (at least 4 times).</p>
  
  <p><strong>EDIT 2:</strong> The page tied to my account was from the Microsoft website.  Step-by-step what I did was download the .iso, extract it to a folder with 7zip, run the autorun.exe file, go through with installation (Couldn't have been any errors there, all I did was check the "Privacy Policy" boxes and whatnot), opened up Visual Studio, typed in the code that I have below, and run it.  I didn't think that needed any explanation.</p>