A
asit
How to initialize constant data members in a class ??
asit said:How to initialize constant data members in a class ??
Use initialization lists.
Steffen.
asit said:please give an example
How to initialize constant data members in a class ??
Jack said:How to read a book on C++?
What's this newsgroup for, if not to answer questions people have
about C++?
Are basic questions more "invalid" here than more advanced questions?
No - but I do understand Jack Kleins answer. You should make a small
effort yourself before you ask questions here. So far as we can see,
asit has not tried very hard: he certaunly did nit read the FAQ for
one thing.
peter said:So far as we can see,
asit has not tried very hard
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.