Maybe you build in "subsystem=windows" mode that hides the console. There should be a setting somewhere in the project settings. Setting it to "subsystem=console" should unhide it. Or use
OutputDebugStringA()
to directly write to the VS debug console.