Computer Chess Club Archives


Search

Terms

Messages

Subject: C and Linux

Author: Frank Phillips

Date: 10:56:02 04/08/02


I am looking for an alternative C command (in Linux) to

cin.rdbuf()->in_avail()

available in C++, which I currently use to test for input while pondering.

Not because I am insane, but I need to remove C++ I/O so that I can compile my
program with the Intel compiler under Mandrake 8.2.   (There seems to a problem
with the substitute headers in this version of Mandrake.).

As as aside, as I have removed progressive amount of C++ I/O, the executable has
got smaller and slower.

Frank



This page took 0.01 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.