Пример файла заголовка c
//
// Created by merom on 4/28/2022.
//
#ifndef LIB7_28_04_2022_STUDENT_H
#define LIB7_28_04_2022_STUDENT_H
#define LIB7_28_04_2022_STUDENT_H
#define MAX_COURSES 100
#define NO_GRADE -1
typedef unsigned int Course ;
typedef unsigned int Grade;
typedef struct Student Student;
void StudentDestroy(struct Student* student);
struct Student * StudentCreate(const char * name , const char * id);
void StudentSetGrade(struct Student * stud , Course course, Grade grade );
Grade StudentGetGrade(Student * stud, Grade grade);
#endif //LIB7_28_04_2022_STUDENT_H
Mero