home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
- From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
- Newsgroups: comp.lang.c
- Subject: Re: Variable length records
- Message-ID: <1992Jul30.002228.5973@klaava.Helsinki.FI>
- Date: 30 Jul 92 00:22:28 GMT
- References: <1992Jul25.091702.15993@klaava.Helsinki.FI> <1992Jul29.160618.27224@klaava.Helsinki.FI> <156nvcINNecv@early-bird.think.com>
- Organization: University of Helsinki
- Lines: 14
-
- barmar@think.com (Barry Margolin) writes:
- >But if you want the contents of the array portion to be copied in such
- >contexts, neither does your char* version.
-
- True enough, but at least it is apparent from the declaration.
-
- On the other hand, perhaps this thread is getting a bit too long: if you
- want strict conformance and portability, use a separately allocated
- array, if you prefer a little bit of convenience, use the others. And
- the '[1]' version (see earlier posts) may even have both qualities (I'm
- not quite certain).
-
- --
- Lars.Wirzenius@helsinki.fi
-