Author: José Carlos
Date: 08:00:16 12/04/03
Go up one level in this thread
On December 04, 2003 at 10:49:06, Tord Romstad wrote:
>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
I recall when I didn't know about "\r" I just came up with something like:
printf("...%c",...,13);
José C.
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.