title: How to Make NetBeans Treat .cpp Files as C++ Source Code?
body: <p>While programming in NetBeans, I downloaded all the right compilers. C worked fine for me.</p>
  
  <p>But now that I started working with C++, I realized that while opening a new source file C++ with the extension <code>.cpp</code> the NetBeans goes to the C compilers, and then can't find include such as <code>&lt;iostream&gt;</code> etc.</p>
  
  <p>But when opening the file with the extension <code>.c++</code> the NetBeans does go to the right directory and does recognize everything C++ related. Is there any way to change that so that the extension <code>.cpp</code> will also go to the right directory?
  Thank You!</p>