title: How to use eclipse to build C++ applications
body: <p>I have downloaded Eclipse Juno for C++ from <a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/juno/R/eclipse-cpp-juno-linux-gtk-x86_64.tar.gz" rel="noreferrer">here</a>.  I am trying to build a simple hello world program (mostly just to test out using eclipse for C++), but I can't get it to build and run.  Here's my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main() {
      cout &lt;&lt; "hello" &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>The Problems tab shows </p>
  
  <pre><code>make: *** No rule to make target `all'.
  </code></pre>
  
  <p>I can only assume this is happening because eclipse is not configured to find my compiler (<code>g++</code> for archlinux), but I can't figure out how to fix it.  Ideally I want to be able to program in C++ with Eclipse as easily as you can in Java (i.e. write code, build and run).</p>