Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: MS-VC++ 6.0 "new" Works Fine

Author: Dieter Buerssner

Date: 09:17:24 12/07/03

Go up one level in this thread


On December 07, 2003 at 11:41:17, Peter Fendrich wrote:

Hi Peter,

>I don't understand why you want to access the clipboard in the console.
>For instance if you have an epd-position in clipboard then place the cursor on
>the console-window and a right-click will paste it on the window...

Sure, I do this all the time for FEN. But I have no code to read in PGN when
pasted to the console. At the moment, I paste it to some editor window, save it
under some name, and then type "read_pgn" at the engine prompt. I would like to
avoid using the editor step. Sure, I could write some code without using the
clipboard, but just getting the text from the clipboard should be much easier to
code for my engine.

After rethinking it, I should write the code to process a PGN "typed" in. Would
also work under Unix, or by redirecting input.

Regards,
Dieter



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.