static initialization

S

shishir

What is static initialization problem ? Does it make sense only for
c++ and not for C ? why ? what are the different ways in which this
problem can be solved ? Is munching is one such solution.
 
Q

Qin Chen

I suggest you read <Think in C++>, i'm myself working on it.
The chapter 10 name control can meet your question, i think...your can get
the book on www.BruceEckel.com.
Hope it help...
 
R

Rolf Magnus

shishir said:
What is static initialization problem ?

I suggest you read that up in the FAQ to this newsgroup. See
http://www.parashift.com/c++-faq-lite/ especially question 10.11.
Does it make sense only for c++ and not for C ?

I think so, yes.

Because C only has POD types.
what are the different ways in which this problem can be solved ?

Read the rest of chapter 10 of the FAQ.
Is munching is one such solution.

I don't think that bad eating manners will help you with that ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,333
Messages
2,571,754
Members
48,554
Latest member
CarrollCro

Latest Threads

Top