May 15, 2000

How Many Member Functions Can a Class Contain?

The C++ standard doesn’t specify the maximal number of member functions that a class can have. However, it recommends that it be 4096. Normally, classes don’t have more than 15-25

Avoiding Code Bloat Caused by Inline

I received an interesting question from a reader. He used STL’s vector in a class that was heavily used in his project. The two compilers he used produced an extremely


I often receive readers’ queries regarding non-standard header files that they don’t have in their development suite, e.g.,,, that they wish to install. This header chase is futile

Does the Order of Type Qualifiers Matter?

Do the following declarations differ in any way from one another? const long int N=0;long const int N=0; No, they don’t. C and C++ do not enforce a specific order

Using dynamic_cast

You can apply operator dynamic_cast only to polymorphic objects (a polymorphic object is one that has at least one virtual member function). This is a requirement of the C++ standard.

Orphaned Exchange Accounts

Question: I have some orphaned Exchange mailboxes that are displayed under Private Information Store/Mailbox Resources. How do I remove them if the object is not defined in the DS? Answer: