可以使用import语句,如import "x.h"; 则在自动生成的xxx_i.h中将会有include "x.h", 于是x.h就被include到工程中了。 转载于:https://www.cnblogs.com/gomen/p/3290835.html