1、MFC中编译c程序时出现错误fatal error C1010: unexpected end of file while looking for precompiled header directive,请问该怎么解决啊? 答:在相应的.c或.cpp文件中,加入语句:#include "stdafx.h"