title: linking <iostream.h> in linux using gcc
body: <p>I'm trying to run my very first c++ program in linux (linux mint 8). I use either gcc or g++, both with the same problem: the compiler does not find the  library I am trying to import. </p>
  
  <p>I suspect something like I should either copy the iostream.h file (which I don't know where to look for) in the working folder, move my file to compile somewhere else or use an option of some sort.</p>
  
  <p>Thanks for your suggestions.</p>
  
  <p>Here's the gcc command, the c++ code, and the error message:</p>
  
  <pre><code>gcc -o addition listing2.5.c
  </code></pre>
  
  <p>.</p>
  
  <pre><code>#include &lt;iostream.h&gt;
  
  int Addition(int a, int b)
  {
      return (a + b);
  }
  
  int main()
  {
      cout &lt;&lt; "Resultat : " &lt;&lt; Addition(2, 4) &lt;&lt; "\n";
      return 0;
  }
  </code></pre>
  
  <p>.</p>
  
  <pre><code>listing2.5.c:1:22: error: iostream.h: No such file or directory
  listing2.5.c: In function ‘main’:
  listing2.5.c:10: error: ‘cout’ undeclared (first use in this function)
  listing2.5.c:10: error: (Each undeclared identifier is reported only once
  listing2.5.c:10: error: for each function it appears in.)
  </code></pre>
  
  <p>Now the code compiles, but I cannot run it from the command line using the file name. <code>addition: command not found</code> Any suggestion?</p>