Visual C++程序设计与应用教程第二版案例源码


Visual C++程序设计与应用教程
资源截图
代码片段和文件信息
// Li10_1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “Li10_1.h“
#include “Li10_1Dlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CLi10_1App

BEGIN_MESSAGE_MAP(CLi10_1App CWinApp)
//{{AFX_MSG_MAP(CLi10_1App)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLi10_1App construction

CLi10_1App::CLi10_1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CLi10_1App object

CLi10_1App theApp;

/////////////////////////////////////////////////////////////////////////////
// CLi10_1App initialization

BOOL CLi10_1App::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CLi10_1Dlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-11-21 10:49  马石安著Visual C++程序设计与应用教程(第二版)
     目录           0  2016-11-21 10:48  马石安著Visual C++程序设计与应用教程(第二版)第10章实例
     目录           0  2016-11-21 10:48  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1
     文件       35556  2007-04-03 19:55  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.aps
     文件        1106  2007-04-03 20:05  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.clw
     文件        2063  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.cpp
     文件        4159  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.dsp
     文件         537  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.dsw
     文件        1324  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.h
     文件       58368  2007-04-03 20:05  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.ncb
     文件       53760  2007-04-03 20:05  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.opt
     文件         702  2007-04-03 19:55  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.plg
     文件        5236  2007-04-03 19:55  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1.rc
     文件        4337  2007-03-30 22:05  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1Dlg.cpp
     文件        1368  2007-03-30 21:54  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Li10_1Dlg.h
     文件        3579  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1ReadMe.txt
     目录           0  2016-11-21 10:48  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1
es
     文件         684  2007-03-30 21:55  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1Resource.h
     文件        1078  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1
esLi10_1.ico
     文件         398  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1
esLi10_1.rc2
     文件         208  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1StdAfx.cpp
     文件        1054  2007-03-30 21:49  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_1StdAfx.h
     目录           0  2016-11-21 10:48  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2
     文件       44112  2007-03-31 22:07  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.aps
     文件        2290  2007-04-05 11:15  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.clw
     文件        4209  2007-03-31 21:58  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.cpp
     文件        4555  2007-03-31 21:58  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.dsp
     文件         537  2007-03-31 21:58  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.dsw
     文件        1356  2007-03-31 21:58  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.h
     文件       58368  2007-04-05 11:15  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.ncb
     文件       53760  2007-04-05 11:15  马石安著Visual C++程序设计与应用教程(第二版)第10章实例Li10_2Li10_2.opt
............此处省略2542个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)