fix compile error stdafx.h missing

add cplusplus feature inheritance