int semesterHours ;
float gpa ;
} ;
class Teacher
{
public :
Teacher( )
{
cout << "Конструктор Teacher" << endl ;
pC = new Course ;
}
~Teacher( )
{
cout << "Деструктор Teacher" << endl ;
delete pC ;
}
protected :
Course* pC ;
} ;
class TutorPair
{
public :
TutorPair( )
{
cout << "Конструктор TutorPair" << endl ;
noMeetings = 0 ;
}
~TutorPair( ) { cout << "Деструктор TutorPair" << endl ; }
protected :
Student student ;