Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: printing pv slow down question

Author: Alessandro Scotti

Date: 09:51:24 08/15/04

Go up one level in this thread


On August 15, 2004 at 12:13:59, Uri Blass wrote:

>I use fflush(stdout) after every printf but I know that I need to use
>fflush(stdout) after lines that I print (otherwise the program may work in text
>mode but not under winboard)

It is also possible to disable buffering altogether with setbuf(stdout,NULL) so
there's no need for fflush(stdout) anymore.



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.