If no arguments are given to the program it launches as a GUI application, if it is given args it is run through the command line. I was able to get visual studio to displa
You can have it using the windows subsystem, and calling AllocConsole when you need a console while the application has a gui as well.