Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: what classes all the serious C++ chess programs have?

Author: Bo Persson

Date: 12:33:20 08/11/04

Go up one level in this thread


On August 11, 2004 at 05:22:51, Tord Romstad wrote:

>
>I also prefer to partition my source code into many small files, where each
>file contains just a small number of closely related functions.  I don't see
>what this has to do with classes.  It seems like to completely unrelated
>issues to me.

This might be your problem. :-)

If you put your "closely related functions", together with the small amount of
data they work on, in a small structure - there you've got your class!


>
>Tord


Bo Persson



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.