Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: c programming q

Author: Dieter Buerssner

Date: 15:33:56 05/13/03

Go up one level in this thread


On May 13, 2003 at 14:03:06, Robert Hyatt wrote:

>I never saw a reference to "int" in  what I responded to.  In fact, the
>example given was a struct with four bytes.

You probably overlooked it. There was a union. One part was the struct of the
four chars, the other part was the int.

In http://www.talkchess.com/forums/1/message.html?296029 you cited the whole
post including the union and the "int" (move). I think, from the context it was
rather clear that the question "Is there any specific order in which the chars
are aligned into the int, or is it compiler-dependent?", were refering to those
parts of the union.

Regards,
Dieter



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.