
请问这段代码是什么意思
//stdafx.h:includefileforstandardsystemincludefiles,//orprojectspecificincludefilesth...
// 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__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_)
#define AFX_STDAFX_H__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_) 展开
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_)
#define AFX_STDAFX_H__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__E0D95180_5467_41BB_9B01_4BBDF20CF496__INCLUDED_) 展开
1个回答
展开全部
楼主是不是疯了 连续提这么多相似的问题 找一个懂的人问问不就得了
这是VC++ MFC编程必须要包含的一个头文件stdafx.h里面的代码, 在里面还包含了许多其他的头文件afxwin.h、afxext.h等等,总之是为了让你在整个工程的其他文件里能使用一些类和函数 MFC编程没这个文件不行
这是VC++ MFC编程必须要包含的一个头文件stdafx.h里面的代码, 在里面还包含了许多其他的头文件afxwin.h、afxext.h等等,总之是为了让你在整个工程的其他文件里能使用一些类和函数 MFC编程没这个文件不行
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询