Aktualizovat du2/program.c
This commit is contained in:
parent
78d0c49ead
commit
83f120ea47
@ -19,7 +19,6 @@ int main() {
|
|||||||
struct student databaza[SIZE];
|
struct student databaza[SIZE];
|
||||||
memset(databaza,0,SIZE*sizeof(struct student));
|
memset(databaza,0,SIZE*sizeof(struct student));
|
||||||
int size = 0;
|
int size = 0;
|
||||||
char meno[SIZE];
|
|
||||||
char line[SIZE];
|
char line[SIZE];
|
||||||
memset(line,0,SIZE);
|
memset(line,0,SIZE);
|
||||||
char* r = fgets(line,SIZE,stdin);
|
char* r = fgets(line,SIZE,stdin);
|
||||||
@ -29,8 +28,8 @@ int main() {
|
|||||||
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
|
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
char name[SIZE];
|
char meno[SIZE];
|
||||||
memset(name,0,SIZE);
|
memset(meno,0,SIZE);
|
||||||
char* zaciatokMena = end + 1;
|
char* zaciatokMena = end + 1;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user