push
This commit is contained in:
parent
53cca3553b
commit
d40f2e4745
@ -70,15 +70,8 @@ void spusti_system(struct strom* uzol) {
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
struct strom* koren = nacitaj_strom();
|
||||
|
||||
if (koren) {
|
||||
printf("koren: %s", koren->hodnota);
|
||||
printf("ano: %s", koren->ano ? koren->ano->hodnota : "NULL\n");
|
||||
printf("nie: %s", koren->nie ? koren->nie->hodnota : "NULL\n");
|
||||
}
|
||||
|
||||
if (koren == NULL) {
|
||||
printf("Chyba: nepodarilo sa nacitat bazu pravidiel.\n");
|
||||
return 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user