Virtual Functions This problem is to get you familiar with virtual functions. Create three classes Person, Professor and Student. The class Personshould have data members name and age. The classes Professor and Student should inherit from the class Person. The class Professor should have two integer members: publications and cur_id. There will be two member functions: getdataand putdata. The function getdata shou.. 더보기 이전 1 ··· 36 37 38 39 40 41 42 ··· 108 다음