Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A question in Olithink vs Gerbil?

Author: Dann Corbit

Date: 10:57:16 06/04/04

Go up one level in this thread


On June 04, 2004 at 06:39:35, Uri Blass wrote:

>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.

A mechanic can tune a car without understanding why the oscilloscope works.  He
can set the dwell angle with a strobe without knowing why it is important.  But
I think he will do better if he understands the reasons for things.

A book on C is $50 or so for a good one like K&R C, and you can by the ANSI/ISO
C standard in PDF from ANSI for a very low price.  Any serious programmer should
have both of those resource.

In the same way that a mechanic might be able to work without a torque wrench,
you can get by without these things.  But if you have them and know how to use
them you will definitely do better.



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.