Page 1 of 1

Why is debug output disabled on Windows?

Posted: Thu Feb 18, 2016 8:20 am
by numanoid
Just out of curiosity, "show_console()" is commented out without explanation in "print_command_line_usage()" and it was somewhat irritating for me when I first tried to launch cen64 and it wouldn't execute without any indication of what went wrong (already figured that out though).

Of course enabling this would only print something in case of unsufficient arguments but for general debug output the according functions (show/hide_console) could just be moved to WinMain instead?

Also instead of system("PAUSE") you could just call getchar() (though I guess it doesnt really matter in this case).