Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Basic C programming question

Author: Tord Romstad

Date: 07:49:06 12/04/03

Go up one level in this thread


On December 04, 2003 at 10:43:49, Richard Pijl wrote:

>Use:
>
>printf("\r");
>
>This backs up to the beginning of the line.
>Do not forget to append spaces if your new line is shorter than the line you're
>overwriting!

Really simple, but new to me.  I had never seen the "\r" switch before.  Thanks
a lot to you and Daniel for pointing out this simple solution to my problem!
:-)

Tord



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.