C1083: 无法打开包括文件: “stdafx.h”: No such file or directory

将头文件替换掉(建议此种做法,较简单);查看 “stdafx.h” 所包含的内容为:

#include
#include

这里只需将你的 ,#include “stdafx.h” 删除掉。更换为 其所包含的内容。也就是:

#include
#include

 

 

转载:https://blog.csdn.net/wangw_5/article/details/83774475

你可能感兴趣的:(C++)