Aktualizovat du2/program.c
This commit is contained in:
parent
ec1ab1acd1
commit
215ce59fe6
@ -13,10 +13,15 @@ int main() {
|
||||
int votes;
|
||||
};
|
||||
|
||||
//pomocne premeny
|
||||
struct student databaza[SIZE];
|
||||
memset(databaza,0,SIZE*sizeof(struct student));
|
||||
int size = 0;
|
||||
char meno[SIZE];
|
||||
char line[SIZE];
|
||||
memset(line,0,SIZE);
|
||||
char* r = fgets(line,SIZE,stdin);
|
||||
|
||||
if (r == NULL)
|
||||
{
|
||||
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user