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