suppose there are two folders, An and B, where there is a folder C
.in the
B folder, there is a B.C and B.hMagin B.h:
include "./C/C.h"
now in A.C in folder A:
include "./B/B.h"
after the link is correct, an error will be reported:
include "./B/B.h" C.h
if you want to modify the header file B.h:
include "./B/C/C.h
can be passed at compile time;
but I think that if there are many similar header files in the B folder, it will take a lot of time to modify. I wonder if there is any way to prevent this from happening when writing B.h include?