You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
357 B
20 lines
357 B
#ifndef STUDENT_H
|
|
#define STUDENT_H
|
|
|
|
typedef struct
|
|
{
|
|
char name[50];
|
|
int id;
|
|
float grade;
|
|
} Student;
|
|
|
|
// 학생 생성 함수
|
|
Student* createStudent(const char* name, int id, float grade);
|
|
|
|
// 학생정보 출력 함수
|
|
void printStudentInfo(const Student* student);
|
|
|
|
// 학생 메모리 해제 함수
|
|
void freeStudent(Student* Student);
|
|
|
|
#endif |