title: Can not run my first Win32 application in visual c++ 2010
body: <p>I have the following first code in Visual C++:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      cout&lt;&lt;"Hello World" &lt;&lt; endl;
      system("PAUS");
      return (0);
  }
  </code></pre>
  
  <p>I created a Win32 console application project. I deleted the available header files and my project area looks like:
  ![enter image description here][1]</p>
  
  <p>When I right click my <code>cpp</code> file and click <code>compile</code>, I get the folowing:</p>
  
  <pre><code>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>But, when I click <code>Build</code>, the cmd black screen appears so fast then disappears and I get the following errors:</p>
  
  <pre><code>'test2.exe': Loaded 'C:\Users\user\Documents\Visual Studio 2008\Projects\test2\Debug\test2.exe', Symbols loaded.
  'test2.exe': Loaded 'C:\Windows\System32\ntdll.dll'
  'test2.exe': Loaded 'C:\Windows\System32\kernel32.dll'
  'test2.exe': Loaded 'C:\Windows\System32\KernelBase.dll'
  'test2.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll'
  The program '[6056] test2.exe: Native' has exited with code 0 (0x0).
  </code></pre>
  
  <p>Can you help me ?</p>