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

在cpp文件最前一行添加 #include "stdafx.h"

 

出现这种情况的解决方法:

 

  在cpp文件最前一行添加 #include "stdafx.h"

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

你可能感兴趣的:(#include”* .h“ 在查找预编译头使用时跳过)