This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
class:os2014f:hw5 [2014/10/17 03:44] mhshin |
class:os2014f:hw5 [2025/10/13 12:45] (current) |
||
|---|---|---|---|
| Line 32: | Line 32: | ||
| * bool is_schoolkid(): 나이가 7살 이상, 19살 이하면 참 | * bool is_schoolkid(): 나이가 7살 이상, 19살 이하면 참 | ||
| * Other functions | * Other functions | ||
| - | * void goto(string schoolname) | + | * void goto_school(string schoolname) |
| * 학교이름을 설정해준다. 단, 나이가 7살이상 19살 이하가 아니면 "NO SCHOOL"로 | * 학교이름을 설정해준다. 단, 나이가 7살이상 19살 이하가 아니면 "NO SCHOOL"로 | ||
| * void add_favorite(string thing) | * void add_favorite(string thing) | ||