Getting rid of the command line window in win32

I just built a standard win32 application, but when I run it, there is a command line

How can I get rid of this cmd window?

I do not use IDE I just use notepad ++ for editing

and mingw to compile using the command line

I execute the g ++ command to compile

Should I use another?

thank

+3
source share
2 answers

Try adding a -mwindowslinker to your flags.

+5
source

Source: https://habr.com/ru/post/1776328/


All Articles