Computer Chess Club Archives


Search

Terms

Messages

Subject: Interrupting pondering/thinking in Win32 console apps

Author: David L. Wyatt

Date: 18:39:37 08/02/99


When implementing a chess engine, what's the most efficient way to go about
checking for input while searching?

Another related question is, how might I go about checking on what is in stdin's
buffer without actually waiting for input, assuming it's empty or the user
hasn't entered a newline yet.

Thanks,
Dave Wyatt
davew@chess.net



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.