在vs2008中编译时出现这种情况:
warning C4627: “#include <windows.h>”: 在查找预编译头使用时跳过
1> 将指令添加到“stdafx.h”或重新生成预编译头
注意这个#include"stdafx.h"
解决方法:
将#include"stdafx.h"放到第一行,如图:
OK!
在vs2008中编译时出现这种情况:
warning C4627: “#include <windows.h>”: 在查找预编译头使用时跳过
1> 将指令添加到“stdafx.h”或重新生成预编译头
注意这个#include"stdafx.h"
解决方法:
将#include"stdafx.h"放到第一行,如图:
OK!