Computer Chess Club Archives


Search

Terms

Messages

Subject: Basic C programming question

Author: Tord Romstad

Date: 07:38:46 12/04/03


I would like my engine to display the current line in the search every
second when running in console mode, but I don't want the display to scroll
down every time a new line is displayed.  Is there a simple way to tell the
computer to delete all text back to the beginning of the current line on the
console, and start writing from there at the next call to printf()?

If possible, I would prefer to avoid using ncurses or similar libraries.

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.