This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Is there a short-cup initialization?
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Subject: Is there a short-cup initialization?
- From: "Albert E. Whale" <aewhale at access dot hky dot com>
- Date: Wed, 09 Feb 2000 20:20:53 +0000
- Organization: ABS Computer Technology, Inc.
- Reply-To: aewhale at hky dot com
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