Re: How to reduce Zero Initialised region.



Ajai Jose wrote:

two questions I had.
1. Am I right in doing this(passing pointer instead of making the data
structure static) ?

Yes. Better design, IMO.

2. Is there any alternative to this ?

Hard work yields better rewards.
.



Relevant Pages

  • Re: Thinking assembly?
    ... much more than to learn the few assembler memonics. ... And that in anyway is flawed in design, ... even once to use VirtualAlloc and didnt know anything about it. ... header...then I can esaly calculate the pointer. ...
    (alt.lang.asm)
  • Re: How to declare pointers to virtual base class methods ?
    ... Reconsider your design. ... Apart from compiler being unable to cast member ... > casting to the method pointer type of class A is necessary). ...
    (microsoft.public.vc.language)
  • Re: Hash Map API Preference
    ... it returns a pointer to the stored ... the stored data is a design choice, ... CBF chose to have the table own the stored data, ... can do this, too, but only by using an intermediate "reference" ...
    (comp.lang.c)
  • Re: How to retrieve this pointer
    ... I did not design this application, but I must to make it functional now. ... I dont like retrieving this pointer of com instance, ... > Microsoft MVP, MCSD ...
    (microsoft.public.vc.atl)
  • Re: C pointer question
    ... matter of arbitrary choice, but rather a matter of good design. ... error if the pointer is null. ...
    (comp.lang.c)