I'm not an expert and I do coding mainly for fun every now and then, so please don't laugh if this question is stupid (I know it is), but I simply don't understand how includes work.
I have about 8 directories where my header files are located, also each of these 'root' directories have at least 10 subdirectories with additional header files and so on. (these are system headers and my own)
Do I have to head my compiler to every single sub directory or is it just enough to specify a 'root' directory using '-I' compiler option (or trough PATH environment variable) ?
I'm confused wether to include all 50+ possible paths combinations to header files ^^ it just seems not logical.
-Ioption and to specify subpathes from there relative in the#includestatement:#include "root/sub/myheader.h"