Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Three questions

Author: Sune Fischer

Date: 03:57:22 11/09/02

Go up one level in this thread


On November 09, 2002 at 06:02:13, Bo Persson wrote:

>Here is your problem: A pointer to member must be declared as a pointer to
>member of a specific class. You do this by using not just a *, but a
>classname::* construct.
>
>Try this line as
>
>void (BOARD::* pGenCastleMoves)();

That did the trick! :D
Thanks!

>See, the compiler tries to hint at BOARD::* !  :-)

Ah, so that's what that meant ;)

>The other two questions are beyond me...

I'm okay with that actually.

-S.

>Bo Persson
>bop2@telia.com



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.