若有头文件A.h在头文件B.h中
#include "A.h"
........
在头文件C.h中
#include "A.h"
........
在头文件D.h中
#include "B.h"
#include "C.h"会出现重定义A.h的错误,如何解决?
另:B.h和C.h相对独立