C++点滴20130724

warning c4627:"#include stdafx.h":在查找预编译头使用时跳过

原因:

1、没有添加 #include "stdafx.h" 

2、#include "stdafx.h"  必须添加到.cpp文件的第一行。不能将其他头文件比如#include<iostream>放在它的前面。

3、每个.cpp文件都必须有#include "stdafx.h" 

原文地址:https://www.cnblogs.com/hbiner/p/3213296.html