Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Connecting to Winboard

Author: Tom Kerrigan

Date: 22:41:18 02/23/00

Go up one level in this thread


On February 23, 2000 at 23:34:03, John Coffey wrote:

>I am reading the documentation on how to connect to winboard.
>the IO commands they recommend using non-buffered input/output
>and this is a bit of a mystery to me.
>
>I am wondering if anyone could share a shell program that just does
>the input output.  Or explain some of the system commands for non-buffered
>communication.

Basically, all you have to do is call setbuf() twice to set the buffers to 0.
Then you can go about your business using "normal" functions like scanf() and
printf().

To see a pretty simple program that's WinBoard compatible, you can check out
TSCP on my homepage:

http://ucsu.colorado.edu/~kerrigat

>I am planning on using C and not C++.  I am wondering if the old Turbo C++
>compiler I have (pre-windows 95) will generate 32 bit applications.  Probably
>not.  I will probably buy Visual C++.

No, if it's pre-Windows 95, then it won't generate Win32 programs. That's really
what you need.

VC is a pretty good thing to buy, but there are alternatives, if you don't want
to pay that kind of money...

-Tom



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.