pure virtual destructor

H

hpsoar

I want to define a class A distributed in A.h and A.cpp , whose
destructor is a pure virtual destructor. And a class B derived frome
class A distributed in B.h and B.cpp, can I make it, how to make it if
can. How can I make a comprise to implement a close version. And thank
you.
 

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

No members online now.

Forum statistics

Threads
473,954
Messages
2,570,116
Members
46,704
Latest member
BernadineF

Latest Threads

Top