Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Unnamed structs in C--bad?

Author: Tom Kerrigan

Date: 05:49:36 12/04/99

Go up one level in this thread


Yes, but more often than not, you are comparing unique moves. For example, you
are comparing a move that the move generator made to a move that you saved in
your hash table.
-Tom

On December 02, 1999 at 20:44:23, Dann Corbit wrote:

>For structures, there is something that you can do if you have a unique set of
>things and you just want to find out if you are looking at the same thing or
>not.  You can compare addresses.  (Sort of like the 'this' comparison in a
>reference assignment operator in C++).



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.