title: Writing C++ in Xcode 4
body: <p>I'm trying to learn C++ and I'm not a fan of Windows, therefore using <strong>Visual Studio</strong> isn't ideal. I have <strong>Xcode</strong> on my Mac though.</p>
  
  <p>I wrote a program in C++ in Visual Studio and it works fine. When I transfer the code to Xcode (using the c++ tool environment) It still works fine but it doesn't like the top #include statement. Why?</p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;stdlib.h&gt;
  #include &lt;iostream&gt;
  #include &lt;time.h&gt;
  </code></pre>
  
  <p>Also it still doesn't like it if I use <code>&lt;...&gt;</code> instead of <code>"..."</code>
  It doesn't affect my current program that I can see.</p>
  
  <p>Basically I'm wondering what its importance is? and do I or will I need it in the future?</p>