home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11739 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1001 b 

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