title: c/c++ : header file not found
body: <p>Some header files are present in <code>/src/dir1/</code> (eg: <code>a.h</code>, <code>b.h</code>, <code>c.h</code> etc). My source file is present in <code>/src/dir2/file.cpp</code>. I used some header files that are present in <code>/src/dir1/</code> but during compilation I got errors like <code>header file not found</code>.</p>
  
  <p>Then I changed the include path like <code>#include "../src/dir1/a.h"</code>, then error is gone in <code>file.cpp</code> but I get <code>not found</code> error in the headers files that are present in <code>/src/dir1</code>. Because I included the header file say <code>a.h</code>, that <code>a.h</code> included some other header files that are present in <code>/src/dir1/</code> (say <code>b.h</code> and <code>c.h</code> present in <code>a.h</code>).</p>
  
  <p>How to add the header file (<code>a.h</code>) in <code>/src/dir2/file.cpp</code> so that it should not ask to modify the include path in the header files that are present in <code>/src/dir1/</code>?</p>
  
  <p>Note: I am using <code>scons</code> to build.</p>