C1083: Cannot open precompiled header file: 'Debug/.pch': No such file or directory 的办法: 这时因为该模块没有包括预编译头文件“stdafx.h”的缘故。 VC用一个stdafx.cpp包含头文件stdafx.h,然后在stdafx.h里包含大部分系统头文件,这 样编译时VC就通过编译stdafx.cpp把大部分系统头文件预编译进来了,在Debug目录下有 一个很大的文件*.pch,这里就 存储了预编译信息。
代码: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__C4B5DA9B_21EA_47D6_9253_A4245E58FBF5__INCLUDED_) #define A
stdafx.h : include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently。
找资源的时候到处都是积分兑换,无奈自己只能摸索一下,尽微薄之力提供便利。