284                                                    10. 

   ,   .
    ,     
      ,   -
   .

       -
 grad_student    student,   -
 ,      .

10.2.    

       .  
       
  . ,       , -
   ,    .

     student  grad_student.  -
     .

  student2.h

student::student(char* nm, int id, double g, year x)
: student_id(id), gpa(g), y(x)

{

strcpy(name, nm);

}

      . 
  strcpy ()    .

grad_student::grad_student (char* nm, infc id, double g,

year x, support t, char* d, char* fch)

: student(nm, id, g, x), s(t)
{

strcpy(dept, d) ;

strcpy(thesis, th) ;

}

,    student     -
.           -
     .

 grad_student    ,   -
  student.   student  student_id    -
.       ,    
    .

           -
  . :

grad_student gsC'Moppnc ", 200, 3.2564, grad, ta,
"", " ");

sfcudenfc& rs = gs;