📄 main.cpp
字号:
#include "stdafx.h"
#include "../demo/Demo.h"
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR, INT )
{
try {
CDemo* system = new CDemo();
if( SUCCEEDED( system->create( hInst, false ) ) )
system->run();
delete system;
} catch( std::exception& e ) {
std::string willExit = "\n\nThe application will now exit.";
MessageBox( 0, (e.what()+willExit).c_str(), "Fatal error", MB_OK );
return 0;
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -