title: How to run g++ from a terminal window on my Mac
body: <p>I have a simple C++ program that I can compile (g++ from command line) and run from my work-computer but not from my home-computer. I don't know how they differ! They are both macbooks and I have installed iPhone SDK on both.</p>
  
  <p>On my home-computer: When I add <code>/Developer/usr/bin</code> to my <code>PATH</code> I can run g++ but it cannot include <code>&lt;string&gt;</code> and it does not recognize <code>printf</code> and such functions. What else do I need to do to make g++ work?</p>