Computer Chess Club Archives


Search

Terms

Messages

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

Author: Daniel Clausen

Date: 00:21:53 08/11/04

Go up one level in this thread


On August 10, 2004 at 13:22:55, Volker Böhm wrote:

[snip]

>>>1. A "Const" Class holding only constants that do not need memory (no const
>>>fields). Nearly every class is derived from the const class giving it the
>>>opportunity to access all relevant constant values.

Just noticing this now: you _derive_ from that const class? That sounds like the
wrong concept to me in this case. Why not simply include its headerfile and use
access the const values this way?

Sargon



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.