title: Trouble using g++ after upgrading to lion/ new xcode
body: <p>Just upgraded to Lion from SL, and downloaded xCode from app store.  </p>
  
  <p>I go to compile "Hello World" and find that g++ isn't being found.  After some searching,  I find it in /Developer/usr/bin.   I add this to my path, and try to compile, and now its saying it can't find iostream.  </p>
  
  <p>Clearly, I missed some key setup step but I don't seem to know what it is.  I don't seem to remember any of this when I installed dev tools for previous mac OS upgrades.  Anyone else run into this problem or offer some advice?</p>
  
  <p>The code I'm compling is dirt simple obviously,  file name helloworld.cpp</p>
  
  <pre><code>#include &lt;iostream&gt;
  int main() { std::cout &lt;&lt; "Hello World" &lt;&lt; std::endl; }
  </code></pre>
  
  <p>Just trying </p>
  
  <pre><code>g++ helloworld.cpp
  </code></pre>
  
  <p>and its saying it can't find iostream.h  (no such file or directory)</p>
  
  <p>Thanks for your help.</p>