warning C4627: “#include <windows.h>”:  在查找预编译头使用时跳过

#include”* .h“ 在查找预编译头使用时跳过

解决办法:

原因是没有在cpp文件最前一行添加没有添加 #include "stdafx.h"

#include "stdafx.h" 一定要添加到cpp文件的第一行,不能放在如”#include <iostream>“行等的后面,否则还是会出现类似错误!

相关文章:

  • 2021-07-04
  • 2021-08-27
  • 2021-11-20
  • 2021-10-10
  • 2022-12-23
  • 2021-08-17
  • 2021-10-24
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2021-06-12
  • 2022-12-23
相关资源
相似解决方案