In C ++, what is the standard way to delete a command prompt without using WinMain ()? It is a simple question that I am using MSVC.
You must first set up / SUBSYSTEM: WINDOWS
(as < Code> / SUBSYSTEM: CONSOLE is opposed to ), you can do this in GUI (right click on project, property, linker, system, subsystem).
Then define either
- defined
WinMain
, or -
main
And set entry point tomainCRTStartup
(property, linker, advanced, entry point).
Comments
Post a Comment