Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: What does l...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 14 Topic 45826 of 47006
Post > Topic >>

Re: What does line 162 do ?

by "Victor Bazarov" <v.Abazarov@[EMAIL PROTECTED] > May 9, 2008 at 11:26 AM

Rafael Anschau wrote:
> 159: static PartsList GlobalPartsList;
> 160: };
> 161:
> 162: PartsList PartsList::GlobalPartsList;
>
> I would understand if it initialized the object
> GlobalPartsList with some value, but as it is now, it seems to me
> without purpose.

It _defines_ the static data member.  Read up on static data members.

V
-- 
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
 




 14 Posts in Topic:
What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 08:18:10 
Re: What does line 162 do ?
"Victor Bazarov"  2008-05-09 11:26:05 
Re: What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 08:43:51 
Re: What does line 162 do ?
"Jim Langston"   2008-05-09 08:57:56 
Re: What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 09:29:19 
Re: What does line 162 do ?
"Victor Bazarov"  2008-05-09 12:56:28 
Re: What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 09:36:23 
Re: What does line 162 do ?
Martin York <Martin.Yo  2008-05-09 10:02:46 
Re: What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 11:09:05 
Re: What does line 162 do ?
Rolf Magnus <ramagnus@  2008-05-11 17:32:12 
Re: What does line 162 do ?
Rafael Anschau <rafael  2008-05-09 11:09:57 
Re: What does line 162 do ?
Rolf Magnus <ramagnus@  2008-05-11 17:27:19 
Re: What does line 162 do ?
Rolf Magnus <ramagnus@  2008-05-11 18:05:05 
Re: What does line 162 do ?
James Kanze <james.kan  2008-05-10 07:28:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 2:05:54 CDT 2008.