How in MSVC++ to make the console not appear?

  • one
    Explain your question. Do you want the console program to not have a console? Or do you need a way to run the program, so that it has no visible windows? or something else? - nzeemin
  • so that the console program "does not have a console", it must be "non-console". - KoVadim
  • one
    Here is the answer, who will be interested esate.ru/uroki/OpenGL/uroki_opengl/_p4200 - obama

1 answer 1

Create an application as a windows application, not as a console. At the same time you can output to a file, etc. etc. - simply, roughly speaking, in the background. Windows will not be created either.

Those. you will not have input from the user (again, you can read from the file), there will be no output to the screen.

If it suits, then go ahead. On the command line, for example, these linker flag /SUBSYSTEM:WINDOWS .