Path: utzoo!attcan!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c Subject: Re: Request for Comments: Aggregate Assignment in C ... Message-ID: <538@taumet.com> Date: 11 Dec 90 15:51:56 GMT References: <77546@iuvax.cs.indiana.edu> Organization: Taumetric Corporation, San Diego Lines: 17 mayer@iuvax.cs.indiana.edu (Mayer Goldberg) writes: |Pascal programmers who learn C, frequently complain of C's |lack of a "with" construct. We propose an alternative to |adding such a keyword, through a natural extention of C's |aggregate initialization statement. |[example] |struct ag { | int a, b, c; |}; |struct ag my_vec = {1, 2, 3}; You could just use C++, which already allows such things via constructors. -- Steve Clamage, TauMetric Corp, steve@taumet.com