Commit c588d4a2 by raliis

Replace struktuurid.h

parent 6fc58395
Showing with 7 additions and 8 deletions
...@@ -2,23 +2,22 @@ typedef struct Student // struct tudengite andmete jaoks ...@@ -2,23 +2,22 @@ typedef struct Student // struct tudengite andmete jaoks
{ {
char eesnimi[30]; char eesnimi[30];
char perenimi[30]; char perenimi[30];
char matrikkel[10]; int matrikkel;
} Student; } Student;
typedef struct Subject // struct ainete info hoistamiseks, tudengite omaga ühildamiseks typedef struct Subject // struct ainete info hoistamiseks
{ {
char nimi[30]; char nimi[30];
char kood[8]; char kood[8];
char matrikkel[10]; int matrikkel;
int tulemus; int tulemus;
char eesnimi[30];
char perenimi[30];
} Subject; } Subject;
typedef struct Output typedef struct Pilet // struct pileti info hoidmiseks
{ {
char aineNimi[30];
char perenimi[30]; char perenimi[30];
char eesnimi[30]; char eesnimi[30];
char matrikkel[10]; int matrikkel;
int tulemus; int tulemus;
} Output; } Pilet;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment