Aktualizovat du2/program.c
This commit is contained in:
parent
5ac6d15ac4
commit
78423171fb
@ -17,7 +17,7 @@ int main() {
|
||||
|
||||
//citanie vstupu
|
||||
char line[SIZE];
|
||||
memset(line,0, sizeof(name));
|
||||
memset(line,0, sizeof(line));
|
||||
char* r = fgets(line,SIZE,stdin);
|
||||
|
||||
if (r == NULL)
|
||||
@ -61,7 +61,7 @@ int main() {
|
||||
{
|
||||
//20 je nahodne cislo, resp. realne budeme vypisovat userov
|
||||
//, pokial nenarazime na prazdny student ID zaznam
|
||||
if (DBStudent[i].meno == '\0')
|
||||
if (DBStudenti[i].meno == '\0')
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user