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下载 stdafx.h : include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently
代码: // 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。
找资源的时候到处都是积分兑换,无奈自己只能摸索一下,尽微薄之力提供便利。
摘要:VC/C++源码,控件相关,CGfxOutBarCtrl CGfxOutBarCtrl类源码和使用实例,类库中包括了如下文件的下载:
GfxOutBarCtrl.h、GfxOutBarCtrl.cpp、GfxGroupEdit.cpp、GfxGroupEdit.h、GfxPopupMenu.cpp、GfxPopupMenu.h。具体的使用方法如下:在stdafx.h中输入:
#ifndef WINVER // 允许使用 Windows 95 和 Windows NT 4 或更高