¡@

Home 

c++ Programming Glossary: italk

Implementing abstract class members in a parent class

http://stackoverflow.com/questions/7167558/implementing-abstract-class-members-in-a-parent-class

it in C Virtual destructors omitted for brevity class ITalk public virtual void SayHi 0 class Parent public void SayHi class.. Parent public void SayHi class Child public Parent public ITalk void Parent SayHi std printf Hi n My compiler didn't really.. std printf Hi n My compiler didn't really like it though ITalk lChild new Child You idiot Child is an abstract class lChild..