Is there a short-cup initialization?

Albert E. Whale aewhale@access.hky.com
Wed Feb 9 12:20:00 GMT 2000


I'm porting some software from DEC Ultrix to Linux.  I currently have a
code fragment which looks like:

int tcnt[8] = 0;

Is there a simple way to define this 8 part array and set all of the
values to 0?  Or is this something that needs to be initialized at
startup?

TIA.
-- 
Albert E. Whale       aewhale@hky.com
http://www.hky.com/aewhale.html
------------------------------------------------------------------
Sr. Database, Internet and Unix Systems Consultant

Pennsylvania Parenthood Initiative - PAPI
http://www.geocities.com/Heartland/4688/papi.htm
The Father's Rights Network - http://www.hky.com/frn/frnhome.html
Parents without Partners - Past President
Co-Founder of The Purple Heart Foundation


More information about the Gcc mailing list