Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: All I need is the <directive(s)>

Author: Joshua Haglund

Date: 07:44:26 01/09/03

Go up one level in this thread


On January 09, 2003 at 05:10:08, Joshua Haglund wrote:

>I would like to print the output of a chess engine directly from the engine.
>
>Say for example:
>
>Crafty implemented the ability to print to a printer.
>
>
>Crafty v20.1 (1 cpus)
>
>
>
>
>
>White(1): board
>
>
>
>   +---+---+---+---+---+---+---+---+
>    8  | *R|   |   |   |   |   | *K|   |
>       +---+---+---+---+---+---+---+---+
>    7  | B | *P|   |   |   | *P| *P| *P|
>       +---+---+---+---+---+---+---+---+
>    6  |   |   | *N| *P|   |   | *Q|   |
>       +---+---+---+---+---+---+---+---+
>    5  |   |   |   |   |   |   |   |   |
>       +---+---+---+---+---+---+---+---+
>    4  |   |   |   |   |   |   |   |   |
>       +---+---+---+---+---+---+---+---+
>    3  | P |   |   |   |   | Q |   |   |
>       +---+---+---+---+---+---+---+---+
>    2  |   | P | P |   |   | P | P | P |
>       +---+---+---+---+---+---+---+---+
>    1  | R |   |   |   | *R|   | K |   |
>       +---+---+---+---+---+---+---+---+
>         a   b   c   d   e   f   g   h
>
>
>
>White(1): print
>
>Looking for printer...
>
>BJC-4304 found...
>
>Printing...
>Page 1 of 1
>Done.
>
>White(1):
>
>Now the board above would have printed too my printer.
>
>I want to do this in C++ though. I've looked everywhere and even asked an
>instructor(bad) how to accomplish this?
>
>No clue.
>
>Looking for some help,
>
>Joshua
>toneewa@yahoo.com

#include <iostream>
What else?



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.