title: Make Eclipse treat .h file as C++?
body: <p>All of our C++ headers use a .h extension. Eclipse thinks these are C headers and flags them with lots of syntax errors on things like classes and namespaces.</p>
  
  <p>I've tried to change the file type association from:</p>
  
  <pre><code>Preferences &gt; C/C++ &gt; File types
  </code></pre>
  
  <p>but it's "locked".</p>
  
  <p>Interestingly, "*.h" is associated with both C and C++ headers, but it seems to be using C.  How can I get Eclipse to treat .h files as C++?</p>