- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c控制台隐藏(Cconsolehidden)
c++控制台隐藏(C++ console hidden)
As we all know, when writing a WIN32 console application, when running this program by default will have a similar DOS window, console window, but sometimes we just want to run a function in the program code, display the console window does not want, then let code executed automatically exit the program.
Here, how to hide Win32 console application console window
Because this method is realized through the link switch settings of the compiler, so lets take a look at the compiler
Link switching option device (linker option).
First we look at the linker /subsystem option
The following options grammatical form:
/SUBSYSTEM:{CONSOLE|EFI_APPLICATION|EFI_BOOT_SERVICE_DRIVER|
EFI_ROM|EFI_RUNTIME_DRIVER|NATIVE|POSIX|WINDOWS|WINDOWSCE}
[major[.minor]].
This link option tells the operating system how to run the executable file
CONSOLE:
Win32 character mode application, the application of this type will have a similar DOS window when running the console window, if the main function in the application of main (wmain) or () in the application, the default is a console application
Extensible Firmware Interface
A parameter option, and CPU specifically related to architecture is not commonly used, here not in detail. If you are interested can visit the Intel home page to view the content
NATIVE;
The device driver option, if the /DRIVER:WDM option is set, the link option (NATIVE) is the default option
POSIX:
In the application of windows NT running on POSIX subsystems.
WINDOWS:
The type of applications from the console window, the application of this type of window created by users themselves, in a nutshell is a standard Win32 application, its entrance address is WinMain () wWinMain () function or function. If you are in the application definition of the main function of WinMain or wWinMain in the application the default is a
Win32 Application!
WINDOWSCE:
Applications running in windows on CE
Major and minor (optional):
The main and minor version number, t
您可能关注的文档
- 3d max快截键(3D max快截键).doc
- 3d max简介().doc
- 3d max快捷键大全(3D Max shortcuts Daquan).doc
- 3dmax 7.0 全部快捷键(3DMAX 7 all shortcut keys).doc
- 3dmax 快捷键_百度百科(3DMAX shortcuts _ Baidu Encyclopedia).doc
- 3dmax2009的快捷键大全(3dmax2009 keyboard shortcuts).doc
- 3dmax使用技巧经验分享3(3DMAX skills, experience sharing 3).doc
- 3dmax使用技巧经验分享().doc
- 3dmax数据(3DMAX data).doc
- 3dmax省时按键(3DMAX time button).doc
- c++程序设计语言特别版(C++ Programming Language Special Edition).doc
- c++练习程序(C++ exercise program).doc
- c++学习摘要(C++ learning abstract).doc
- c++语言入门87(Introduction to c++ language 87).doc
- c++课程设计(C++ curriculum design).doc
- c++课程设计(颜色版)(C++ course design (Color Edition)).doc
- c2h5oh(c2h5oh).doc
- c1电子桩考技巧图解_皮卡车倒桩移库技巧讲解(C1 electronic energy-saving _ pickup reverse transfer skills to explain).doc
- cad vba批量打印(cad vba批量打印).doc
- cadence中常见文件格式(Common file formats in cadence).doc
文档评论(0)