Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcvax!hp4nl!philapd!ssp1!roelof From: roelof@idca.tds.PHILIPS.nl (R. Vuurboom) Newsgroups: comp.lang.c Subject: Re: Indefinite-length array as member of struct: how? Keywords: char string [] [0] [1] Message-ID: <153@ssp1.idca.tds.philips.nl> Date: 11 Jul 89 17:19:07 GMT References: <7360@c3pe.UUCP| <1148@crdgw1.crd.ge.com| Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 26 |In article <1148@crdgw1.crd.ge.com| davidsen@crdos1.UUCP (bill davidsen) writes: | |Here are a few passages from the draft standard (begin quote): | | Although I can't imagine anyone implementing this incorrectly, |neighther section says anything about "increasing" sequence, just that |the allocation is sequential. Still, how much better it would have been |to say something like: | | "A *structure type* indicates a set of member objects, |allocated in increasing sequential order, each of which has an |optionally specified name and possibly a distince type." | Well if we _really_ want to be nit-picky: I don't think I care whether the objects are allocated sequentially or all at the same time :-). You might need something like this: A *structure type* indicates an ordered set of member objects. The corresponding allocated areas (in memory) follow the same ordering. Each member object has an optionally...bla bla -- Roelof Vuurboom SSP/V3 Philips TDS Apeldoorn, The Netherlands +31 55 432226 domain: roelof@idca.tds.philips.nl uucp: ...!mcvax!philapd!roelof