From: Paul Brannan Date: 2002-09-25T04:00:02+09:00 Subject: Re: Object-Oriented struct Model in C On Wed, Sep 25, 2002 at 03:01:18AM +0900, William Djaja Tjokroaminata wrote: > Hi, > > Well, putting the inner objects on the stack may require a large stack (we > are assuming arbitrarily complex and deeply nested data structure). If we > do the double initialization approach, we first initialize the struct > itself (mostly to zero), and then assign the inner objects directly to the > struct data. Don't put the object itself on the stack, put the VALUE that refers to it on the stack. Paul