7pro.cpp

来自「Embedded VC “是男人就挺过二十秒”源代码」· C++ 代码 · 共 39 行

CPP
39
字号
// Evade.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "GameWnd.h"


int WINAPI WinMain(HINSTANCE hInstance,
				   HINSTANCE hPrevInstance,
				   LPTSTR    lpCmdLine,
				   int       nCmdShow)
{
	// TODO: Place code here.
	
    CGameWnd *pGameWnd = CGameWnd::GetInstance();
    if(pGameWnd == NULL)
    {
        return 0x05;
    }
    
    if(pGameWnd->Initialize(hInstance) == FALSE)
    {
        return 0x10;
    }
	
    pGameWnd->ShowWindow(TRUE);
    
	
    
    MSG msg;
    while(GetMessage(&msg,NULL,0,0))
    {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }
	
    return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?