1. 程式人生 > >#include”* .h“ 在查找預編譯頭使用時跳過

#include”* .h“ 在查找預編譯頭使用時跳過

ios warning 跳過 ima stream bsp 分享 strong ges

warning C4627: “#include <windows.h>”: 在查找預編譯頭使用時跳過

技術分享

解決辦法:

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

#include "stdafx.h" 一定要添加到cpp文件的第一行,不能放在如”#include <iostream>“行等的後面,否則還是會出現類似錯誤!

#include”* .h“ 在查找預編譯頭使用時跳過