mainapp.cpp
来自「一个VC程序」· C++ 代码 · 共 41 行
CPP
41 行
// mainApp.cpp: implementation of the mainApp class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//#include "gameapp.h"
#include "mainApp.h"
#include "gameFrame.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
mainApp::mainApp()
{
}
mainApp::~mainApp()
{
}
mainApp myApp;
BOOL mainApp::InitInstance()
{
m_pMainWnd = new gameFrame;
m_pMainWnd->ShowWindow( m_nCmdShow );
m_pMainWnd->UpdateWindow();
return TRUE;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?