Shyan Lam wrote:

> Hi,
>
> Reply embedded...
>
>
> > -----Original Message-----
> > From: Mark Van Peteghem [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 04, 2004 12:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: (PT) Questions on C++- Please help
> >
> >
> > Also static data aren't automatically initialized to 0 in C++,
>
> They should be, as is specified by the standard.
>
> > at least not with my compiler (MSVC++ 6).
>
> Really?  Do you have some codes to demonstrate that it is not the case?

I tried it, and it seems you're correct. It looks like I'm too careful, 
I initialize everything with a value.

-- 
  Mark Van Peteghem
  http://www.q-mentum.com -- easier and more powerful unit testing



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe : [EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To reply to this message, go to:
    http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=3776
    Please do not reply to this message via email. More information here:
    http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> To visit your group on the web, go to:  
    http://groups.yahoo.com/group/Programmers-Town/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to