Author: Uri Blass
Date: 03:39:35 06/04/04
Go up one level in this thread
On June 04, 2004 at 05:26:08, Daniel Clausen wrote: >On June 04, 2004 at 05:00:15, Gopikrishna wrote: > >>On June 04, 2004 at 04:14:52, Dann Corbit wrote: >> >>>On June 04, 2004 at 03:57:32, Gopikrishna wrote: >>> >>>>Also there is a main() function in winboard.c But from where are those >>>>parameters argc and argv[] passed to this main? Thanks. >>> >>>From the OS. >> >>So what are the values of these arguments that are passed from OS? > >Since you don't know that, have a hard time finding xboard/winboard-related code >in sourcefiles and can't find the place where an engine defines its board >structure, maybe you should get a decent book about C? There are plenty. > >Sargon I also do not know it but it did not prevent me to write stronger engine than gerbil so I guess that it is not important if your target is to write a strong engine that supports the winboard commands. I have only one main function and it gets no parameters from the operating system. I do not see why it needs to get then. Uri
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.