I am using Visual Studio Community 2022. My program compiles and runs just fine except that stdout seems to not be directed to the console.
What would be the best way to change that? Keep in mind that it is a window application, I would just like to have console output for additional debug purposes, so I cannot change the subsystem flag.
I am also not compiling from the IDE, but the command line.
I tried to change the subsystem flag to console, but that conflicts with the WinMain entrypoint.