Is there a short-cup initialization?
Alexandre Oliva
oliva@lsd.ic.unicamp.br
Wed Feb 9 22:08:00 GMT 2000
On Feb 9, 2000, "Albert E. Whale" <aewhale@access.hky.com> wrote:
> int tcnt[8] = 0;
> Is there a simple way to define this 8 part array and set all of the
> values to 0?
If this is in the global scope, just omit the initializer, and it will
be default-initialized to 0.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ IC-Unicamp, Bra[sz]il
aoliva@{redhat, cygnus}.com Cygnus Solutions, a Red Hat company
aoliva@{acm, computer}.org Free Software Developer and Evangelist
oliva@{lsd.ic.unicamp.br, {gnu, kaffe, samba}.org, guarana.{org, com}}
More information about the Gcc
mailing list