Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is there a "Best" Chess Programming Language?

Author: Russell Reagan

Date: 16:24:39 06/09/02

Go up one level in this thread


On June 09, 2002 at 10:28:17, Jon Dart wrote:
>You can do:
>
>Move *myMoveList = (Move*)malloc(sizeof(Move)*512);
>memset(myMoveList,'\0',sizeof(Move)*512);
>
>then the constructors are never called.

If you used the 'new' command instead of malloc(), would the constructors be
called?

Russell



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.