title: clang not detecting c++ headers on OS X
body: <p>I'm trying to use clang to compile a simple hello world cpp file with our favorite <code>#include 'iostream'</code></p>
  
  <p>But clang, for some reason shows</p>
  
  <blockquote>
    <p>fatal error: 'iostream' file not found</p>
  </blockquote>
  
  <p>This stumped me. Can anyone suggest what I must do (or if I need to change things by using cmake?)</p>
  
  <p><strong>EDIT 1:</strong> </p>
  
  <p>Mac OSX Yosemite 10.10.2</p>
  
  <p>The compiler I'm using is NOT the apple clang that came with it, but another one that was built separately with OMP support. This is the website from where it was taken.</p>
  
  <p><a href="http://clang-omp.github.io/" rel="nofollow noreferrer">http://clang-omp.github.io/</a></p>
  
  <p>when I type <code>clang -v</code> in the terminal, I get this output - </p>
  
  <pre><code>clang version 3.5.0 
  Target: x86_64-apple-darwin14.1.0
  Thread model: posix
  </code></pre>
  
  <p>Now this is the cpp file I'm trying to compile. A lame hello-world example - </p>
  
  <pre><code>#include &lt;iostream.h&gt;
  int main() {
  
  std::cout &lt;&lt; "blah" ;
  return 0;
  }
  </code></pre>
  
  <p>And I used this command in the terminal to compile it - </p>
  
  <pre><code>clang Untitled.cpp -o blah
  </code></pre>
  
  <p>to get this error - </p>
  
  <pre><code>Untitled.cpp:1:10: fatal error: 'iostream.h' file not found
  #include &lt;iostream.h&gt;
  </code></pre>