titanandrews
Programmer
Hi,
In Java, even in a GUI application you can log messages to stdout, but can this be done in C++? I know I can use cout << "Blah"; But if you link with the /SUBSYSTEM:WINDOWS option then where does it go? I already know that I cannot use /SUBSYSTEM:CONSOLE with a GUI application. The program will crash right away. Of course, I can log to a file, but it would be nice to see my messages in the console. Does anyone know if this is possible?
In Java, even in a GUI application you can log messages to stdout, but can this be done in C++? I know I can use cout << "Blah"; But if you link with the /SUBSYSTEM:WINDOWS option then where does it go? I already know that I cannot use /SUBSYSTEM:CONSOLE with a GUI application. The program will crash right away. Of course, I can log to a file, but it would be nice to see my messages in the console. Does anyone know if this is possible?