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

Forum statistics

Threads
474,162
Messages
2,570,896
Members
47,434
Latest member
TobiasLoan

Latest Threads

Top