错误描述: 在a.cpp中包含b.h,然后在a.h中使用b.h中的类,未在a.h中包含b.h 在c.h中包含a.h时出现上述错误 解决方法: 在c.h中 #include “a.h” 前 #include “b.h”