title: Unable to include header files in C++
body: <p>In netbeans I am creating a new folder and adding header files to it.</p>
  
  <p>Now when I include the header file within the newly created folder to another file by using:</p>
  
  <pre><code>#include "folder1/myheaderFile.h"
  </code></pre>
  
  <p>The compiler complains that it is unable to find the header file.</p>
  
  <p>The error is:</p>
  
  <pre><code>main.cpp:31:39: fatal error: folder1/myheaderFile.h: No such file or directory
  </code></pre>
  
  <p>Is there some way out as I want to include the header files within a folder in my #include?</p>
  
  <p>EDIT: Do i need to make a makefile for every folder? 
  Another EDIT:</p>
  
  <pre><code>When I right clicked on the error its showing
  unresolved directive
  #include
  Analyzed system include paths:
  /usr/include/C++/4.6
  /usr/include/C++/4.6/x84_64_linux_gnu
  /usr/include/C++/4.6/backward
  /usr/lib/gnu/x86_64-linux-gnu/4.6/include
  /usr/local/include
  /usr/lib/gcc/x86_64-linux-gnu
  /usr/include
  </code></pre>