?? demo.cpp
字號:
/** @file Demo.cpp
@brief Contains WinMain().
*/
// Includes
#include "Demo.h"
// Simple Win32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
// WinMain()
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)
{
// Create application object
Application app;
// Attempt
try
{
// Run the program
app.go();
}
// Failure
catch(Ogre::Exception& e)
{
// Output Error
MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL );
}
// Exit
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -