array initialization

utzoo!decvax!harpo!floyd!rjs utzoo!decvax!harpo!floyd!rjs
Thu Oct 28 09:01:33 AEST 1982


As Kernighan and Ritchie's book says: "Regrettably, there is no way to specify
repetition of an initializer, nor to initialize an element in the middle of
an array without supplying all the intervening values as well."  Not only
is this regrettable, it's been the case for far too long.  These facilities
really should be added to the language, especially since we are told not
to rely on default initialization to zero.

	Robert Snyder
	floyd!rjs



More information about the Comp.lang.c mailing list