Description: Polymorphism of a student category known student, properties include the school number, name, sex, date of birth. Category derived from the student category of university students and postgraduate class, college students also includes the attributes of type Class, professional, system graduate attribute categories also include a study of the direction of instructors name. The definition of constructor and destructor, and data assignment and output members, students type in one virtual function defined in (show ()) output data members. Basic requirements: to achieve dynamic invocation of the corresponding derived class function Senior requirement: verify the base class object to call virtual function, point to base class object pointer to call the base class virtual functions, derived class object to call virtual functions and so on.
To Search:
File list (Check if you may need any files):