I have bunch of header files , which include each other .
Example :
file1.h
will have #include<temp/file2.h>
file2.h
will have #include<temp/file3.h>
file3.h
will have #include<temp/someFile.h>
In this they all have this "temp" folder in relative directory. Therefore, i am confused about how can i use them with g++ compiler.
Can you please help me.
Do you really want to be naming a directory that contains important source code, "temp"? Normally, the convention is that if a directory is named "tmp" or "temp", it will contain only temporary files that can safely be deleted when an application finishes.