Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by corpse

  1. corpse

    polymorphism and virtual functions

    Thanks, I got it working with RTTI. Just the way like you said above.
  2. corpse

    polymorphism and virtual functions

    Thanks for the replies. I will try them tomorrow
  3. corpse

    polymorphism and virtual functions

    Say I have the following classes: (I left out constructors and destructors as they don't matter here) class Employee{ public: virtual void pay()=0; } class Worker{ int age; public: void pay(){ cout<<&quot;pay worker&quot;; } void setAge(int a){age=a;} } class Manager{ public: void...

Part and Inventory Search

Back
Top