今天调试程序,碰到一个错误:fatal error C1010: unexpected end of file while looking for precompiled header directive

分析:工程头文件处理的错误。

解决:

     1、Project   Setting-> C/C++   ->   Category(Precompiled   header)-> not   using   Precompiled   header

      2、如果使用的是Win32工程,可能就是错误文件没有包含:#include "stdafx.h"  ,添加该包含即可。

 

详细理解,参考:http://www.vcer.net/1047209431368.html

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2021-05-29
  • 2022-02-04
  • 2021-05-31
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2022-03-03
  • 2021-10-05
相关资源
相似解决方案