I am working in ubuntu, I have a folder that contains a subfolder. in the first folder i have a name.h file. in subfolder i have again a name.h file. the thing is that i nee
So, something like this :
-> header.hpp -> header.hpp
This is resolved by telling the compiler to search in the common folder for the headers (in the above case ) and including like this :
#include "sub1/header.hpp" #include "sub2/header.hpp"