Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I have a class, i don't want any other class to be derived form that. How can i do this? Regards Neha
Make the constructor private.
Eventhough i make the contructor i can derive(Public) other class from that. What i want is during Compile time itself it should give some error.
See the C++ FAQ