www.digitalmars.com         C & C++   DMDScript  

c++.dos.16-bits - putchar/printf question; \r translates to \n\r on output

I have code that pops status to stdout similar to:
    printf("\r%7lu lines processed", lLines);

after re-compile with DMC (v2.29) I get
page after page of text.

Carriage Return,CR('\r') is translated to a
Line Feed,LF('\m') + Carriage Return,CR('\r')

How can I output just a Carriage Return,CR('\r') with LF?

ajax4hire8C hotmail.com
Oct 21 2002