This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
class:os2014f:hw6 [2014/10/25 01:52] mhshin created |
class:os2014f:hw6 [2025/10/13 12:45] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * 담당 학생 (여러개의 Student) | * 담당 학생 (여러개의 Student) | ||
| * Function | * Function | ||
| - | * Prof( string name, Dept &dept ) // 학과 설정, 과에도 이 교수를 추가 | + | * Prof( string name, Dept &dept ) 학과 설정, 과에도 이 교수를 추가 |
| - | * void teach_subj( Subject &s ) // 이 과목을 가르친다 | + | * void teach_subj( Subject &s ) 이 과목을 가르친다 |
| - | * void care_student( Student &s ) // 이 학생을 담당한다 | + | * void care_student( Student &s ) 이 학생을 담당한다 |
| * Subject class | * Subject class | ||
| - | * void taught_by( Prof &p ) // 가르치는 교수 지정 | + | * void taught_by( Prof &p ) 가르치는 교수 지정 |
| * Dept class | * Dept class | ||
| - | * void add_prof( Prof &p ) // 교수 추가 | + | * void add_prof( Prof &p ) 교수 추가 |
| + | * Student class | ||
| + | * void set_prof( Prof &p ) 담당교수 설정 | ||