Ok, but where can i found infos about how to correctly code 
a multi-segment C++ app. It seems that the place of each parts
in segments a really important for code stability.


> > i have some debug stuffs i can enable/disable with a #define.
> > But if i disable them, my code is lower and variable initialization
> > seems to be different :
> > 
> > Char *t;       // doesn't anymore point to NULL ?!
> > int s;            // != 0 ?!
> 
> this is probably just a side effect you got used to. the C standard
> doesn't specifically say your variables are initialized to zero in
> any way whatsoever.
> 
> if you want it to be NULL and 0, do this:
> 
>   Char *t = NULL:
>   int   s = 0;

Ok, but a have a class with lots of properties, do i really need to create
a constructor that initialize all my properties ?


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to