On Sun, 13 Jan 2002, Jan Kok wrote:
> a) who says member names can begin with "."? I don't see it in The C
> Programming Language, 2nd Ed. by K&R, and I don't see it in the
> extensions listed in the gcc documentation (although it mentions that
> "$" is allowed as an extension).
This is a new Coke thing. Now allowed.
> b) I also don't see where
> <member>=<value> is allowed for initialization. The standard way is {
> <value>, <value>...}
no, that's allowed to. It's much more reliable than the old "standard
way".
Both of these things ensure that your initializations will work even if
(1) the order of structure members is changed or (2) new structure members
are added.
ron