From: mstrx1 AT aol DOT com (MstrX1) Newsgroups: comp.os.msdos.djgpp Subject: Newbie, stupid 'printf' Question Lines: 13 NNTP-Posting-Host: ladder03.news.aol.com X-Admin: news AT aol DOT com Date: 7 Jan 1999 22:59:07 GMT Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com Message-ID: <19990107175907.21430.00007885@ng-fp1.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, if I don't type a LF("\n") at the end of my printf-text the text isn't printed correctly under MS-DOS. Most times this isn't a problem, because I need it anyway, but if I want to print text at the bottom of the screen and I print (printf("Hello World\n")), the screen scrolls down and the top-line will be destroyed. How can I print it correctly without using a "\n" at the end, or stop this scrolling ? J. Diederich