win_main.cpp

来自「实现gl studio在vc中的仪表开发」· C++ 代码 · 共 47 行

CPP
47
字号
//----------------------------------------------------------------------------////  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 + =
减小字号Ctrl + -
显示快捷键?