fatal error C1010: unexpected end of file while looking for precompiled header directive
没发现有什么语法的错误 
请教

解决方案 »

  1.   

    两个办法:
        添加 #include "stdafx.h",在该文件最前面加上即可
        或右键点击项目工程中的该cpp文件,选择setting,在c/c++栏,选择PreCompiled headers,然后设置第一选项,选择不使用预编译头,解决这个问题。
      

  2.   

    两个办法:
        添加 #include "stdafx.h",在该文件最前面加上即可
           或右键点击项目工程中的该cpp文件,选择setting,在c/c++栏,选择PreCompiled headers,然后设置第一选项,选择不使用预编译头,解决这个问题。
    1:不行
    2:出现更多错误 
      

  3.   

    #include "stdafx.h"
    我有一个cpp文件包含了