Article View: comp.std.c
Article #4052Re: A new programming language
From: Mike Schilling
Date: Tue, 19 Sep 1995 16:22
Date: Tue, 19 Sep 1995 16:22
19 lines
1208 bytes
1208 bytes
Christopher R. Volpe (volpe@bart.crd.ge.com) wrote: : In article <DF3Evn.ICt@csc.liv.ac.uk>, s5sem@csc.liv.ac.uk (S.E. Morris) writes: : >In article <bbkhx*h8d@yaps.rhein.de>, arno@yaps.rhein.de (Arno Eigenwillig) writes: : >> In article <42om0g$qi6@mirv.unsw.edu.au>, Avi Pilosof writes: : >> : >> > The one thing I hate about C is that you : >> > cannot initialise a struct using curly braces at any point other : >> > that global scope. : >> : >> Wrong. : > : >No, this is correct. Structures cannot be pre-initialised except as : >global. Maybe you were thinking of structure definitions ??? : : No, Arno was correct. Auto variables of structure type can have brace-enclosed : initializers. Please cite a constraint in the Standard that says otherwise. : And even before ANSI, static structures introduced at any scope could have initializers.
Technical Details
Message-ID:
<1995Sep19.162202.24227@forte.com>Path:
arc1-ca.pugleaf.net!uucp3.netcom.com!forte!mikesReferences:
<43k0fc$mjv@rdsunx.crd.ge.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!uucp3.netcom.com!forte!mikes From: mikes@forte.com (Mike Schilling) Subject: Re: A new programming language Message-ID: <1995Sep19.162202.24227@forte.com> Organization: Forte Software Inc. X-Newsreader: Tin 1.1 PL5 References: <43k0fc$mjv@rdsunx.crd.ge.com> Date: Tue, 19 Sep 1995 16:22:02 GMT