Author: Zach Wegner
Date: 18:00:46 05/08/03
In my program, I have the move data structure:
typedef struct
{
union
{
struct
{
char from;
char to;
char bits;
char piece;
};
unsigned int move;
};
unsigned int score;
} SMOVE;
Is there any specific order in which the chars are aligned into the int, or is
it compiler-dependent?
Zach
This page took 0.01 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.