📄 win_main.cpp
字号:
//----------------------------------------------------------------------------//// Copyright (c) 1998 - 2002 by Distributed Simulation Technology, Inc.// 11315 Corporate Boulevard, Suite 115
// Orlando, FL 32817//// All rights are reserved.//// Use of this software is permitted only upon assumption of all risk// without recourse.//// DiSTI does not provide warranty for this software or guarantee that it// satisfies any specification or requirement unless otherwise stated in// a specific contractual arrangement between the customer and DiSTI.////-----------------------------------------------------------------------------
#ifndef NO_WINMAIN
//// This Windows Main function is needed by "Stand Alone" MS Windows applications.//// This allows us to have a standard entry "main" for all platforms.//#include <windows.h>#include <stdio.h>extern int main(int, char *[]);//extern __declspec(dllimport) int __argc;//extern __declspec(dllimport) char **__argv;int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ // Call the standard main return main(__argc, __argv);}
#endif // NO_WINMAIN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -