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

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

解决办法:

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

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

原文地址:https://www.cnblogs.com/wxl845235800/p/7263054.html