Created
November 4, 2018 17:59
-
-
Save dotsonjb14/87f52233e239f2f49cb9bfb8673132e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct teacher { | |
int id; | |
char* name; | |
int* classes; | |
short parking_number | |
} | |
struct student { | |
int id; | |
char* name; | |
float GPA; | |
int* classes; | |
} | |
bool teacher_in_class(teacher* t) { | |
// do logic | |
} | |
bool student_in_class(student* t) { | |
// do logic | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment