是否忘记向源中添加“#include“StdAfx.h””

用VS2010编写C++程序,编译时出现如下错误:

修改方法:

右击项目,选择属性

点击确定,重新编译,错误解决。

转载于:https://www.cnblogs.com/sMKing/p/6135124.html

 
原文地址:https://www.cnblogs.com/WLCYSYS/p/12552125.html