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

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

 

修改方法:

右击项目,选择属性

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

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

 
posted @ 2020-03-23 14:44  小树木  阅读(507)  评论(0编辑  收藏  举报