Carriage return required when printing to the console in Windows?
It seems like just putting a linefeed is good enough, but I know it is supposed to be carriage return + line feed. Does anything horrible happen if you don't put the carriage return and only use line feeds? This is in ANSI C and not going to be redirected to a file or anything else. Just a normal console app. The Windows console follows the same line ending convention that is assumed for files, or for that matter for actual, physical terminals. It needs to see both CR and LF to properly move to the next line. That said, there is a lot of software infrastructure between an ANSI C program and