Aktualizovat du5/program.c
This commit is contained in:
parent
375dd03d99
commit
936bca40f9
@ -131,7 +131,7 @@ int main()
|
|||||||
int root = buildATree();
|
int root = buildATree();
|
||||||
|
|
||||||
printf("Expert z bufetu to vie.\n");
|
printf("Expert z bufetu to vie.\n");
|
||||||
if (answerCount == 0)
|
if (answerCount == 0 || root == -1 || nodeCount = 0)
|
||||||
{
|
{
|
||||||
printf("Chybna databaza\n");
|
printf("Chybna databaza\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user