Originally posted by I know, I know
By default all functions are declared private. You do not have the public decleration until below your constructor and destructor. I am not sure why you would ever want your constructor private, I can understand protected but not private. If you are going to use class A as just a parent class declare the constructor protected, but I think the destructor has to always be public.
It is a bug in VC 6.0 that has been fixed in V 7.0.

Also, destructors can be private -- implementations of singleton patterns make use of private destructors.

Regards,

Paul McKenzie