title: #include Header Files When They Are In a Different Directory Structure
body: <p>I have done some searching and found similar threads on the proper way to include header files in C++, but none of them quite answered this question.</p>
  
  <p>I know that in order to include a header file in another folder you can simply use the following syntax:</p>
  
  <pre><code>#include "../myFolder/myFile.h"
  </code></pre>
  
  <p>But what about when the file is in a different directory structure a bit far removed? 
  For example, if something like the following is guaranteed to be true:</p>
  
  <p>Current directory = / f1 / f2 / f3 / f4 / f5 / myFile.cpp</p>
  
  <p>Desired header directory = / f1 / d2 / d3 / d4 / d5 / d6 / myHeader.h</p>
  
  <p>I know that you can set the "Additional Include Directories" property or use a make file, but I'd like to know if there is a way to do it from the <code>#include</code> statement.</p>