【c++】Cannot open precompiled header file: 'Debug/2.pch'

还是预编译文件夹的问题 打开stdafx.cpp 按F7,再次执行就行了
原文地址:https://www.cnblogs.com/sniper007/p/2696979.html