资源简介
C++项目-图书管理系统
C++项目-图书管理系统
代码片段和文件信息
// chat 2.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “chat 2.h“
#include “chat 2Dlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChat2App
BEGIN_MESSAGE_MAP(CChat2App CWinApp)
//{{AFX_MSG_MAP(CChat2App)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CChat2App construction
CChat2App::CChat2App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CChat2App object
CChat2App theApp;
/////////////////////////////////////////////////////////////////////////////
// CChat2App initialization
BOOL CChat2App::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
CChat2Dlg 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;
}
相关资源
- C++项目-----仓库管理系统
- 职工信息管理系统 c++项目源代码
- 图书信息管理系统 c++项目源代码
- C++项目源代码适合新手练手及参考
- 《深入体验VC++项目开发》源代码
- 《亮剑Visual C++项目开发案例导航》随
- C++项目练习
- Visual C++项目开发案例精粹
- c++项目开发全程实录 随书源代码 刘志
- C++项目开发实战入门全彩版PDF1
- Visual C++项目开发实用案例.rar
- 圆环纹理映射(c++项目)
- C++项目开发实战入门_明日科技.rar
- C++项目开发案例全程实录
- C++项目开发实战入门全彩版PDF2
- c++项目详细简单适合初学者
- vs2013 VC++项目里的Windows窗体应用程序
- Visual C++项目开发案例全程实录(第二
- Visual C++项目开发案例全程实录第2版光
- C++项目实践
- cc++项目视频.txt
- Visual C++项目开发案例全程实录光盘源
- 通过C#调用共享MFC C++项目DLL
- 实战突击:Visual C++项目开发案例整合
- C++项目 设计模式精解
- Visual+C++项目案例导航
评论
共有 条评论