Article View: comp.std.c
Article #4019Re: A new programming language
From: Christopher R. Volpe
Date: Mon, 18 Sep 1995 14:41
Date: Mon, 18 Sep 1995 14:41
23 lines
1400 bytes
1400 bytes
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. -- Chris Volpe Phone: (518) 387-7766 (Dial Comm 8*833 GE Corporate R&D Fax: (518) 387-6560 PO Box 8, Schenectady, NY 12301 Email: volpecr@crd.ge.com
Technical Details
Message-ID:
<43k0fc$mjv@rdsunx.crd.ge.com>Path:
arc1-ca.pugleaf.net!bart.crd.ge.com!volpeReferences:
<42h7q1$6qc@news.xs4all.nl> <42om0g$qi6@mirv.unsw.edu.au> <bbkhx*h8d@yaps.rhein.de> <DF3Evn.ICt@csc.liv.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bart.crd.ge.com!volpe From: volpe@bart.crd.ge.com (Christopher R. Volpe) Newsgroups: comp.std.c Subject: Re: A new programming language Date: 18 Sep 1995 14:41:48 GMT Organization: GE Corporate Research & Development Sender: volpe@bart (Christopher R. Volpe) Distribution: world Message-ID: <43k0fc$mjv@rdsunx.crd.ge.com> References: <42h7q1$6qc@news.xs4all.nl> <42om0g$qi6@mirv.unsw.edu.au> <bbkhx*h8d@yaps.rhein.de> <DF3Evn.ICt@csc.liv.ac.uk> Reply-To: volpe@ausable.crd.ge.com NNTP-Posting-Host: bart.crd.ge.com